Bug 1251189 - [GSS] (6.1.z) Having added consecutive restrictions on fields with "java.util.Date" type in Guided Rule causes the browser to hang when choosing "Literal value"
Summary: [GSS] (6.1.z) Having added consecutive restrictions on fields with "java.util...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: All
OS: All
high
high
Target Milestone: CR1
: 6.1.0
Assignee: Toni Rikkola
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On: 1251017
Blocks: 1249859 bpms6.1.3-payload
TreeView+ depends on / blocked
 
Reported: 2015-08-06 16:17 UTC by Musharraf Hussain
Modified: 2020-03-27 19:07 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 1251017
Environment:
Last Closed: 2020-03-27 19:07:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Comment 4 Musharraf Hussain 2015-08-07 08:37:29 UTC
[For Public visibility of the description of this Bugzilla]

+++ This bug was initially created as a clone of Bug #1251017 +++

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 9 Toni Rikkola 2015-08-17 07:41:11 UTC
Link to master above points to wrong commit, here is master:
https://github.com/droolsjbpm/drools-wb/commit/e11a136b8502195647c8910e49eabe112425611a


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