Bug 970203

Summary: Unable to use some options for int sub-fields in Guvnor
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Amana <ajuricic>
Component: BRM (Guvnor)Assignee: Geoffrey De Smet <gdesmet>
Status: CLOSED NEXTRELEASE QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: alazarot, brms-jira, lcestari
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 986000 (view as bug list) Environment:
Last Closed: 2013-07-18 18:29:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 986000, 1069273    
Attachments:
Description Flags
before-saving
none
after-saving none

Description Amana 2013-06-03 16:52:26 UTC
Created attachment 756412 [details]
before-saving

The configuration is reverted back to its original state after saving a rule which contains an int sub-field that uses some options such as "less than", "greater than", "less than or equal to" and "greater than or equal to" in Guvnor. The only options available after saving are: "equal to", "not equal to", "is null" and "is not null" (see before-saving.png and after-saving.png attached). Follow the steps to reproduce:

1) Created a model object which has an object attribute. This class has an int attribute as follows:

public class Customer {
	
	private Contact contact;
...
}

public class Contact {
	
	private int tel1;
...
}


2) After importing the jar to guvnor, I created a rule adding the "tel1" sub-field. I selected "greater than" option and saved the rule.

3) It has reverted to "---please choose---" and now I can only choose "equal to", "not equal to", "is null" and "is not null".

Comment 1 Amana 2013-06-03 16:52:52 UTC
Created attachment 756413 [details]
after-saving