Hide Forgot
Date of First Response: 2009-08-27 09:59:53 securitylevel_name: Public When you create an enumerate data for a field of a class using external data like 'demodrools.ImpotPersonne.type' : (new demodrools.PipoClass()).loadData() when creating a rule, no enum type can be chose
Link: Added: This issue is related to GUVNOR-237
Verified in 5.0.1 CR1
For documenting this in the Release Notes, can you please confirm the following and fill in the missing information. Dot point explanations are fine: The CAUSE (what was actually broken) * CONSEQUENCES of the bug (how it impacts users.) * Imported data enums could not be selected from drop-down lists (WHICH ONES? WHERE?) whilst new rules are in the process of being created (HOW? SIMULTANEOUSLY? WHILST BEING SAVED?) The FIX (what was changed to eliminate this bug) and * RESULTS of the fix (what now happens for users.) *
We are still awaiting the outstanding information for the Release Notes on this one. Please provide it as soon as possible. Thanks.
The CAUSE (what was actually broken) * Nothing. This was more like a new feature. The enums were not found because they were not in the wars classpath, and this feature wanted to add them to the packages classpath so you could upload the helper classes as a new model jar or as a part of a model jar. CONSEQUENCES of the bug (how it impacts users.) * Imported data enums could not be selected from drop-down lists in guided rule editor, if the helper classes were uploaded as a model ( Not a bug ). The FIX (what was changed to eliminate this bug) * First we loaded the model jars for the completion suggestion engine so it can get the enums. This broke the engine, the rule package builds and test scenarios too often. Also the information about the enums did not belong into the rule packages, just for the editor. * In the end nothing was changed, this was not a real bug and the codes belonging to this Jira were not working well enough. RESULTS of the fix (what now happens for users.) * Same thing as before the changes. The helper classes need to be in the wars classpath and having them uploaded as a model does nothing.
More information since I think that there is still a problem related to this in the product. The patch in GUVNOR-237 had some issues and because of them the suggestion completion engine was not able to load every time. More information and the fix for this is in GUVNOR-282.