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 Interface | Assignee: | Toni Rikkola <trikkola> | ||||||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 5.1.0 GA | CC: | 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: |
|
||||||||||
Created attachment 514960 [details]
Actual result, showing the entered value is not dislayed
Created attachment 514961 [details]
Screenshot showing the value I entered, and expect to be displayed after saving
This is known to occur in Firefox versions 3 and 5, as well as Chrome. Candidate only 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. Reproduced with BRMS 5.1.0, cannot reproduce with BRMS 5.2.0 ER4.
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.
This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |
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.