Bug 1176787 - Unable to use some options for Integer sub-fields in Guided Rule Templates
Summary: Unable to use some options for Integer sub-fields in Guided Rule Templates
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER5
: 6.1.0
Assignee: manstis
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-23 08:53 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:39:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1042508 0 medium CLOSED Guided Editor - when closing as asset always asks "Are you sure you want to discard unsaved data" even if nothing has be... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1069273 0 medium CLOSED Unable to use some options for Integer sub-fields in Guided Rule Templates 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1127303 0 high CLOSED Guided Editor breaks free form DRL which includes setter method with multi parameters 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1158176 0 high CLOSED Guided Rule Editor: Displays blank screen when I tried to opening the saved rule 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1172228 0 high CLOSED Guided rule editor: Only one method call is saved when calling multiple methods on a single variable 2021-02-22 00:41:40 UTC


Description Zuzana Krejčová 2014-12-23 08:53:44 UTC
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

Comment 3 Zuzana Krejčová 2015-01-22 15:29:41 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.