Bug 1251017 - Having added consecutive restrictions on fields with "java.util.Date" type in Guided Rule causes the browser to hang when choosing "Literal value"
Having added consecutive restrictions on fields with "java.util.Date" type in...
Status: VERIFIED
Product: JBoss BRMS Platform 6
Classification: JBoss
Component: Business Central (Show other bugs)
6.1.0
All All
high Severity high
: ER4
: 6.2.0
Assigned To: Toni Rikkola
Jiri Locker
:
Depends On:
Blocks: 1251189
  Show dependency treegraph
 
Reported: 2015-08-06 08:22 EDT by Musharraf Hussain
Modified: 2015-10-23 12:28 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1251189 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
beforeHang.png (282.87 KB, image/png)
2015-08-06 08:23 EDT, Musharraf Hussain
no flags Details
screenhung.png (283.68 KB, image/png)
2015-08-06 08:23 EDT, Musharraf Hussain
no flags Details
repository1.git.zip (72.01 KB, application/zip)
2015-08-06 08:24 EDT, Musharraf Hussain
no flags Details

  None (edit)
Description Musharraf Hussain 2015-08-06 08:22:50 EDT
Description of problem:
- Let us imagine there is a fact " NewEmployee " which has two fields namely"joiningDate" and "offerDate" whose type is "java.util.Date" . If we try to add more than one field restrictions through Guided Rule editor (either for the same field or even for both of the above fields, one after another) and then if we try to select  "Literal value" for those field restrictions from the editor, it suddenly hangs the entire browser. See the screenshot "beforeHang.png" to understand how I defined the first restriction and "screenhung.png" would show you when the screen freezes after adding the restriction on the same or other field of type "java.util.Date" in the next line of the WHEN condition of the rule.

- I have attached the sample repository "repository1.git.zip" for quick reference and testing.

- Note the issue remains in BRMS 6.1.0 Patch Update 2 as well and the issue has been replicated in Firefox version 24 as well as 38 as well.

Version-Release number of selected component (if applicable):
- Red Hat JBoss BRMS 6.1.0 Patch Update 2

How reproducible:
- Always

Steps to Reproduce:
1. Use the attached repository "repository1.git.zip" before starting BRMS server inside "jboss-eap-6.4/bin/.niogit" folder.
2. Follow the steps given above to add a second constraint on a field having type "java.util.Date".


Actual results:
- Browser hangs.

Expected results:
- It should not hang.

Additional info:
- Nothing
Comment 1 Musharraf Hussain 2015-08-06 08:23:14 EDT
Created attachment 1059897 [details]
beforeHang.png
Comment 2 Musharraf Hussain 2015-08-06 08:23:37 EDT
Created attachment 1059898 [details]
screenhung.png
Comment 3 Musharraf Hussain 2015-08-06 08:24:21 EDT
Created attachment 1059899 [details]
repository1.git.zip

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