Bug 724199 (BRMS-142) - can't call methods on a global list in test scenario
Summary: can't call methods on a global list in test scenario
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-142
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.0.0 GA
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.0.2
Assignee: Toni Rikkola
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-22 17:13 UTC by Jaroslaw Kijanowski
Modified: 2010-09-03 09:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-23 11:12:49 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-142 0 Major Closed can't call methods on a global list in test scenario 2014-06-02 14:05:51 UTC

Description Jaroslaw Kijanowski 2009-06-22 17:13:16 UTC
Date of First Response: 2010-04-01 03:32:04
securitylevel_name: Public

Comment 1 Jaroslaw Kijanowski 2009-06-22 17:14:48 UTC
Link: Added: This issue depends GUVNOR-377


Comment 2 Jaroslaw Kijanowski 2010-03-23 11:12:49 UTC
Verified in BRMS 5.0.2 CR1
Methods like size can be called on a global (java.util.List) in the EXPECT section

Comment 3 Dana Mison 2010-04-01 07:32:04 UTC
To clarify for the release notes:

"calling a method on a global list in a test scenario"

Would users have encountered an error message or exception being thrown when they tried to do this before ?



Comment 4 Toni Rikkola 2010-04-01 16:22:16 UTC
Before the fix calling size gave the following exception in a popup if the user tried to run the test scenario:

"Unable to run the scenario. could not access/write property (size) in: java.util.ArrayList"

The user was able to add the size to expect section, just running the test scenario failed.

Comment 5 Dana Mison 2010-04-06 01:54:32 UTC
Documented as resolved in the BRMS 5.0.2 release notes:

GUVNOR-377
Test scenarios that contained method calls to List globals (java.util.List) would fail to run, and would display an error dialog. This has been fixed and these method calls now work as expected.



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