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

Table Editor doesnt update correctly for extension property ADD / REMOVE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.6
    • 7.4
    • Views
    • None
    • Hide

      1) Create a new Model Project and import the attached model (RestBooksToo.xmi). This model has 7.4 style REST extension properties defined on the procedure.
      2) open the model, then select the Table Editor > Procedures tab. You will see the ext-custom:URI and ext-custom:Rest Method property columns.
      3) In Model Explorer, select the 'getAllBooks' procedure then rt-click > Modeling > Disable REST for Procedures. The Table Editor procedures tab refreshes correctly to remove the rest columns.
      4) In Model Explorer, reselect the 'getAllBooks' procedure - rt-click > Modeling > Enable REST for Procedures. The Table Editor procedures tab did NOT update (see in properties panel that ext props were added). Closing and re-opening the model editor at this point will force the table editor to rebuild correctly.
      5) Finally, reselect the 'getAllBooks' procedure - rt-click > Modeling > Disable REST for Procedures. Again the Table Editor procedures tab does NOT update (see in props panel that ext properties were removed)

      Show
      1) Create a new Model Project and import the attached model (RestBooksToo.xmi). This model has 7.4 style REST extension properties defined on the procedure. 2) open the model, then select the Table Editor > Procedures tab. You will see the ext-custom:URI and ext-custom:Rest Method property columns. 3) In Model Explorer, select the 'getAllBooks' procedure then rt-click > Modeling > Disable REST for Procedures. The Table Editor procedures tab refreshes correctly to remove the rest columns. 4) In Model Explorer, reselect the 'getAllBooks' procedure - rt-click > Modeling > Enable REST for Procedures. The Table Editor procedures tab did NOT update (see in properties panel that ext props were added). Closing and re-opening the model editor at this point will force the table editor to rebuild correctly. 5) Finally, reselect the 'getAllBooks' procedure - rt-click > Modeling > Disable REST for Procedures. Again the Table Editor procedures tab does NOT update (see in props panel that ext properties were removed)

      The table editor doesnt refresh in all situations where extension properties are added or removed.

            mdrillin1@redhat.com Mark Drilling (Inactive)
            mdrillin1@redhat.com Mark Drilling (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: