Bug 1121985
Summary: | Test scenario: Not working with Java enums | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Toni Rikkola <trikkola> |
Component: | Business Central | Assignee: | Toni Rikkola <trikkola> |
Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 6.0.0 | CC: | bingalee7, fspolti, kverlaen, lpetrovi |
Target Milestone: | ER3 | ||
Target Release: | 6.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-27 20:00:46 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: |
Description
Toni Rikkola
2014-07-22 09:24:32 UTC
The same test was made in the following versions: 5.3.1 -> worked as expected 6.0.2 -> same problem 6.0.3 -> same problem master: https://github.com/droolsjbpm/drools/commit/451eebede 6.2.x: https://github.com/droolsjbpm/drools/commit/42e1d67e2 Similar use case - trying to set the value of an enum, I got an error: testdrl : [Error: could not access/write property (gender) in: au.gov.tas.test.Person] [Near : {... __fact__.gender= __val__ ....}] ^ [Line: 1, Column: 15] When creating the test scenario, the workbench correctly interprets the enumeration, allowing the appropriate value to be selected but is obviously passing the string because, I needed to add a setter that accepted a string value. |