Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2523

Add or Remove input variables for WS operation not working correctly

    XMLWordPrintable

Details

    • Hide
      1. import the attached project
      2. double click the OrderCheckingWs in model explorer, the model editor will open
      3. click Add or Remove variables
      4. notice all variables are deselected
      5. select OrderDate, click OK
      6. save the model, the following validation error is shown:
      Show
      import the attached project double click the OrderCheckingWs in model explorer, the model editor will open click Add or Remove variables notice all variables are deselected select OrderDate, click OK save the model, the following validation error is shown:

    Description

      The variables are now shown after opening the model, however, clicking Add or Remove variables shows the Edit Input Variables editor with all the variables deselected. Selecting some of the variables adds them to the transformation, resulting in invalid SQL.

      New steps to reproduce:

      import the attached project
      double click the OrderCheckingWs in model explorer, the model editor will open
      click Add or Remove variables
      notice all variables are deselected
      select OrderDate, click OK
      save the model, the following validation error is shown:

      ERROR: Variable VARIABLES.IN_OrderDate was previously declared.

      Note that as a user checks/unchecks variables, the SQL transformation is trying to keep pace with the selections and isn't staying in sync. You can end up with multiple/duplicates. Expanding the tree shows that 2 of the 3 variables show as checked. But OrderDate is Not.

      Attachments

        Issue Links

          Activity

            People

              blafond Barry LaFond
              asmigala@redhat.com Andrej Smigala
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: