Bug 1059166
| Summary: | Guided rule editor fails to open a valid rule | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Jorge Perez Bolano <jperezbo> | ||||
| Component: | Business Central | Assignee: | manstis | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | kverlaen, lpetrovi, manstis, rrajasek, vigoyal | ||||
| Target Milestone: | ER1 | ||||||
| Target Release: | 6.0.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
The Guided Rule Editor fails to open a valid rule correctly even though the rule has passed validation and is valid in the GIT repository. The Editor may incorrectly remove some of the rule definitions or modify rule constructs incorrectly.
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 19:57:01 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: |
|
||||||
test in master: https://github.com/droolsjbpm/drools/commit/dbf7158a1 Fixed by https://github.com/droolsjbpm/drools/commit/f799d40bb Reassigning to Toni to check that it works also in the guided editor. Very similar to (if not the same as) bug 1052313. Works in ER2. |
Created attachment 857010 [details] Guided Rule Create a rule using the guided editor similar to: package org.demo.gestionreservas; rule "JorgeTest" salience 10 dialect "mvel" when reserva : Reserva( ) itinerario : Itinerario( destino == "USA" ) from reserva.itinerarios then reserva.setOnHold( "No" ); update( reserva ); end Attached an image of guided rule definition. The validation is ok and the rule is also OK in git. When you try to reload the guided rule, "itinerario : Itinerario( destino == "USA" )" is lost. As you can see in the image there is also a minor error in the guided editor as there is no space between "from" and the entity. Version-Release number of selected component (if applicable): BRMS CR2