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

Changing validation preference (i.e. Relational) forces a re-build but validation does not pick up changed preference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.4
    • 7.3
    • Modeling, Validation
    • None

    Description

      While adding/testing new validation rules and validation preferences it became apparent that there is a timing/event issue with changing preferences and the auto-build that's kicked off when user APPLY's or hits OK

      1) Create simple relational model with table and one column with datatype decimal with "0" precision
      2) Saving/validation should result in "Missing or invalid precision" WARNING
      3) Edit Preferences > TEiid Designer > Validation and open "Relational" tab.
      4) Change the "Missing precision property on columns with numeric types:" value to "ERROR"
      5) Hit OK
      6) Choose YES to FULL REBUILD
      7) ERROR is not created in problems view

      I Stepped through this in DEBUG and the ERROR DID get created. Seems the validation preference is NOT getting set/changed prior the the validation logic requesting current value.

      Attachments

        Activity

          People

            dflorian@redhat.com Daniel Florian (Inactive)
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: