Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1235013

Summary: [GSS](6.1.z)Guided Rule Editor: String fields with double slashes changes the editor
Product: [Retired] JBoss BRMS Platform 6 Reporter: William Antônio <wsiqueir>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: alazarot, jlocker, manstis, mwinkler
Target Milestone: CR1   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1234640 Environment:
Last Closed: 2020-03-27 20:03:44 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: 1234640    
Bug Blocks: 1230818, 1230825    

Description William Antônio 2015-06-23 18:38:31 UTC
+++ This bug was initially created as a clone of Bug #1234640 +++

Description of problem:

When using String field in a rdrl and using texts with double slashes ("//") in the literal value, the editor changes, showing a field to manually edit it instead the visual editor.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Clean BRMS installation, use the new default project;
2. Create a data model with a String attribute;
3. Create a Guided Rule and in the LHS use the object attribute and the equals operation to compare it to a literal value that contains "//";
4. Save the guided rule and reopen it.

Actual results:

The visual part to change the attribute value will be shown in a text way, for example:

attr == "some value //"

Expected results:

It should use the combo box to select a condition (equal to, not equal to, etc) and the field to users enter the literal value.

Additional info:

See an attached screenshot that shows this problem.

--- Additional comment from JBoss Product and Program Management on 2015-06-22 18:10:17 EDT ---

Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from  on 2015-06-23 04:58:08 EDT ---

drools-workbench-models
-----------------------
(master) https://github.com/droolsjbpm/drools/pull/450

[Awaiting PR to be merged before setting to MODIFIED]

--- Additional comment from  on 2015-06-23 09:26:56 EDT ---

drools-workbench-models
-----------------------
(master) https://github.com/droolsjbpm/drools/commit/6830ef53c