Mirth Connect
  1. Mirth Connect
  2. MIRTH-690

Bad UI behavior when editing Javascript

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7.0
    • Component/s: Administrator
    • Labels:
      None
    • Environment:
      Same as MIRTH-689
    • Operating System:
      Linux

      Description

      When editing Javascript in DatabaseWriter type destination, if you drag a user-defined variable (defined in previous transformers), it appears in the editor as:
      $

      {TIPO}

      but this appears to be incorrect.

      The correct way seems to be:
      $

      {'TIPO'}

      But is confusing that the UI generates the code this way

      Happy New Year!

        Activity

        Hide
        Christopher Lang added a comment -

        Brendan -

        Can we make the drag handler check the destination type? (Or even update the DB JS and JS connectors to run a quick regex on any dropped text?)

        Show
        Christopher Lang added a comment - Brendan - Can we make the drag handler check the destination type? (Or even update the DB JS and JS connectors to run a quick regex on any dropped text?)
        Hide
        Brendan Haverlock added a comment -

        This was fixed a while ago.

        Show
        Brendan Haverlock added a comment - This was fixed a while ago.

          People

          • Assignee:
            Brendan Haverlock
            Reporter:
            Alex Perez
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development