Bug 1048950
Summary: | Invalid enumeration not detected | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Zuzana Krejčová <zkrejcov> | ||||
Component: | Business Central | Assignee: | manstis | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Kralik <pkralik> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.0.0 | CC: | etirelli, lpetrovi, manstis, mbaluch, rrajasek, vigoyal | ||||
Target Milestone: | ER2 | ||||||
Target Release: | 6.0.1 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Known Issue | |||||
Doc Text: |
When creating a new Rule, the system fails to detect invalid enumeration and marks them as valid. The Guided Rule Editor therefore fails to open due to the invalid enum entered via the Enum Editor.
Cause:
Consequence:
Invalid enumeration may be (incorrectly) succesfully validated.
Workaround (if any):
None.
Result:
User is misled to believe that the enumeration is valid, even though it is not.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-08-06 19:59:03 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: | |||||||
Attachments: |
|
Enumeration validation has been improved; however ideally the Enumeration Editor should be enhanced to prevent erroneous definitions in the first place. This recommendation should really be the subject of a new "Feature Request" BZ. Invalid enumeration evaluation works as seen in "Expected results". Verified for brms-6.0.1-ER2 deployable for eap6. |
Created attachment 846146 [details] successful validation of an invalid enumeration Description of problem: An invalid enumeration is not detected. Validating invalid enumerations gives you 'Item successfully validated' notification. Guided rule editor might not open if you have such an enumeration in your project. Version-Release number of selected component (if applicable): BPMS 6.0 ER7 Steps to Reproduce: For a POJO A with String attributes a and b: 1. Create a new Enumeration. 2. Click Add enum and type in A into the first field, a into the second, ['a','b','c'] into the third. Save and validate. (OK so far.) 3. Click Add enum again and type in first A, into the next field b[a="b"] and into the last one ['b1','b2']. Save and validate. 4. Create a new guided rule or open an existing one. Actual results: After step 3, validation gives you 'Item successfully validated' notification. After step 4, the guided editor is blank. Expected results: After step 3, validation gives you meaningful validation error message. After step 4, the guided editor opens without problems, with the right content.