Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007pSZ8&srPos=0&srKp=500&sfdc.override=1 Steps to Reproduce: In BRMS tool: 1) Create a model with two fields, e.g. : A class called Vehicle, which has 2 fields: "engineType" and "fuelType". 2) Create a enumeration, e.g. : 'Vehicle.engineType' : ['Petrol', 'Diesel'] 'Vehicle.fuelType[engineType=Petrol]' : ['ULP', 'PULP' ] 'Vehicle.fuelType[engineType=Diesel]' : ['BIO', 'NORMAL' ] 3) Try to use it on a Business Rule -> it works 4) Try to use it into a test scenario -> it doesn't work Note: The engineType field will display the choices into a test scenario but the fuelType won't display them (see the attached file). securitylevel_name: Public The "advanced enums" works on a business rule, however inside a test scenario it doesn't work.
Attachment: Added: brms.png
Help Desk Ticket Reference: Added: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007pSZ8&srPos=0&srKp=500&sfdc.override=1
Accidently closed while investigating 'clone'.
Link: Added: This issue Cloned to BRMS-643
SourceForge Reference: Added: https://issues.jboss.org/browse/GUVNOR-1554
SourceForge Reference: Removed: https://issues.jboss.org/browse/GUVNOR-1554
Link: Added: This issue depends GUVNOR-1554
Fixed, see GUVNOR-1554.
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: https://bugzilla.redhat.com/show_bug.cgi?id=724802 Classes with two fields that used advanced enumeration failed in test scenarios. An overloaded method was created to handle advanced enumerations and prevent test scenarios from failing.
Fix verified in ER3.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,3 +1 @@ -https://bugzilla.redhat.com/show_bug.cgi?id=724802 - Classes with two fields that used advanced enumeration failed in test scenarios. An overloaded method was created to handle advanced enumerations and prevent test scenarios from failing.