Description of problem: If you create a rule template with Person( contact != null , contact.tel1 > 15 ) save and reopen the rule template, the select box for the Integer field offers only "equal to", "not equal to", "is null" and "is not null". Options like "less than", "greater than", .. are missing. Source shows rules with Person( contact != null , ) and validation of course fails. This is a regression from 6.0, where this (same) issue was fixed once already - see bug 1069273. Version-Release number of selected component (if applicable): 6.1 ER3
Works if you use expression editor, fails otherwise. Steps to reproduce: 1. Add 'Person' to LHS, click the pattern to add constraint on 'contact' field, choose 'is not null' operator. 2. Click the field constraint to add its subfield, choose 'Show sub fields...'. 3. Choose 'tel1' subfield, select 'greater than' operator, type in '15' as a literal value. 4. If there are no rows in the Data Table, add one (fill something in if you have set some template key). 5. Save, close and reopen.