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

Bug 725302

Summary: List of String values not displayed correctly in given fact of Test Scenario
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jason Shepherd <jshepherd>
Component: User InterfaceAssignee: Toni Rikkola <trikkola>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1.0 GACC: trikkola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When adding test scenarios to a 'Given' fact with a field value of type string, the literal values added were not always displayed correctly in the guided editor.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:14:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Example repository
none
Actual result, showing the entered value is not dislayed
none
Screenshot showing the value I entered, and expect to be displayed after saving none

Description Jason Shepherd 2011-07-25 03:16:20 UTC
Created attachment 514959 [details]
Example repository

Description of problem:

When creating a test scenario, and adding a given fact, with a field of type java.util.List<String>, the literal values added are not displaying correctly in the guided editor.

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


How reproducible:

See the attached repository. View the 'testList' test scenario, and attached screen shot of the fact I added.

Steps to Reproduce:
1. Add a POJO model with a field of type java.util.List<String>
2. Create a rule that fires if a value in that list is equal to literal value (see attached repo MyListRule) 
3. Create a test case with a 'Given' fact of the type imported in step 1. 
4. Insert a value for the fact like '="hello"'
  
Actual results:

The value entered in step 4 is not displayed

Expected results:

The value entered in step4 should be displayed

Additional info:

If you run the test scenario, it passes, so the given fact was inserted without problems, even though it doesn't display correctly.

Comment 1 Jason Shepherd 2011-07-25 03:17:19 UTC
Created attachment 514960 [details]
Actual result, showing the entered value is not dislayed

Comment 2 Jason Shepherd 2011-07-25 03:18:10 UTC
Created attachment 514961 [details]
Screenshot showing the value I entered, and expect to be displayed after saving

Comment 3 Jason Shepherd 2011-07-25 03:22:27 UTC
This is known to occur in Firefox versions 3 and 5, as well as Chrome.

Comment 4 Anne-Louise Tangring 2011-08-12 15:51:18 UTC
Candidate only

Comment 5 Toni Rikkola 2011-09-19 11:18:03 UTC
It works for me when I use "Guided list" for the myList field and "hello" without the =.

To make it work with the =, I used "literal value" for myList field and placed =["hello"] into the textbox.

There has been some changes to the codes around this section so it is possible that the behavior described in this ticket is gone now.

Comment 6 Jiri Locker 2011-09-22 13:30:09 UTC
Reproduced with BRMS 5.1.0, cannot reproduce with BRMS 5.2.0 ER4.

Comment 7 lcarlon 2011-09-23 01:03:36 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When adding test scenarios to a 'Given' fact with a field value of type string, the literal values added were not always displayed correctly in the guided editor.

Comment 12 Red Hat Bugzilla 2025-02-10 03:14:05 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.