| Summary: | Defining a checkbox via DSL doesn't work anymore - generated rule is broken | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Jervis Liu <jliu> |
| Component: | BRM (Guvnor) | Assignee: | Jaroslaw Kijanowski <kijanowski> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.0.0 GA | CC: | mproctor, toni |
| Target Milestone: | --- | ||
| Target Release: | 5.0.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/BRMS-265 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-03-23 13:11:22 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: | |
|
Description
Jervis Liu
2010-03-16 10:00:51 UTC
Merged to BRMS 5.0.2 branch as a side effect Verified in BRMS 5.0.2 CR1 Cause: when would users notice this bug?
Following DSL (taken from the mortgages sample) generates a wrong editor.
[when]When the applicant approval is {bool:BOOLEAN:checked} = applicant:Applicant(approved=={bool})
The result can no longer be validated.
Consequence: what happens when the bug is encountered ?
Fix: how was this fixed ?
fixed as a bug.
Result: what happens now when the "Cause" occurs ?
The problem does not occur any more.
I'm assuming that this is related to the " 'checkboxes=checked/unchecked' are now 'dropdown=true/false' issue Is this JIRA just related to the sample being broken ? Can you supply more details about the fix ? Every boolean DSL widget that was added or edited had this issue. It did not affect any previous rules that were made if they were not opened and saved again. Boolean fields only accept true or false as value. Because of this issue the value was always set to checked or unchecked and this did not work. I don't think that the boolean DSL broke the sample, I don't think that the sample uses boolean DSL. But it does use dates in DSL and that did break it. |