Changing validation preference (i.e. Relational) forces a re-build but validation does not
pick up changed preference
---------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-887
URL:
https://issues.jboss.org/browse/TEIIDDES-887
Project: Teiid Designer
Issue Type: Bug
Components: Modeling, Validation
Affects Versions: 7.3
Reporter: Barry LaFond
Assignee: Dan Florian
Priority: Critical
Fix For: 7.4
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira