Bug 1030428 - Test Scenario fails to populate Date field
Summary: Test Scenario fails to populate Date field
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: BRMS 5.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Toni Rikkola
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-14 12:29 UTC by Toshiya Kobayashi
Modified: 2023-05-01 08:28 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GUVNOR-2061 0 Major Open Test Scenario fails to populate Date field 2018-05-23 02:29:47 UTC

Description Toshiya Kobayashi 2013-11-14 12:29:05 UTC
Description of problem:

Platform BZ for https://issues.jboss.org/browse/GUVNOR-2061


Steps to Reproduce:
1. Import repository_export_mvel_date.zip attached to GUVNOR-2061
2. Run MyTestScenario

Actual results:

Throws ERROR message

=====
20:33:26,674 ERROR [RepositoryAssetService] Unable to run the scenario.
[Error: could not access/write property (dateTime) in: defaultPackage.SubModel]
[Near : {... __fact__.dateTime = __val__ ....}]
             ^
[Line: 1, Column: 1]
	at org.mvel2.PropertyAccessor.set(PropertyAccessor.java:372)
	at org.mvel2.PropertyAccessor.set(PropertyAccessor.java:139)
	at org.mvel2.ast.DeepAssignmentNode.getReducedValue(DeepAssignmentNode.java:97)
	at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:106)
	at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:49)
	at org.mvel2.MVEL.eval(MVEL.java:165)
	at org.drools.testframework.ScenarioRunner.populateFields(ScenarioRunner.java:404)
	at org.drools.testframework.ScenarioRunner$3.go(ScenarioRunner.java:186)
	at org.drools.testframework.ScenarioRunner.doPopulate(ScenarioRunner.java:249)
	at org.drools.testframework.ScenarioRunner.runScenario(ScenarioRunner.java:207)
...
=====

Expected results:

Run the test scenario


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