Bug 1067923
| Summary: | Guided rules loosing entry fields in DSL sentences | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Patrick Steiner <psteiner> |
| Component: | Business Central | Assignee: | Toni Rikkola <trikkola> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | kverlaen, lpetrovi, rrajasek |
| Target Milestone: | ER2 | ||
| Target Release: | 6.0.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 19:56:41 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: | |||
drools master: https://github.com/droolsjbpm/drools/commit/82459844baa7a77668945fc363eba8b149ee153a https://github.com/droolsjbpm/drools/commit/b7c2227ba544c209b9cb8af7a0826a63a997f476 |
Description of problem: I’m currently working on a customised demo for a situation and am running in a few situations where I’m not sure if they are bugs or features … This is what I have done: - created a simple DSL <sample> [condition][vertrag]Es gibt einen Vertrag=vertrag : Vertrag() [condition][vertrag]- Rabatt nicht mehr als {rabatt}=rabatt < {rabatt} [consequence][vertrag]Reduziere Vertrag um {erhoehung} Prozent=vertrag.setRabatt( vertrag.getRabatt() - {erhoehung} ) </sample> - created a guided rule based on this DSL When I create the Guided Rule initially, I do get entry field to fill the variables, like {rabatt} when revisiting the rule at a later point in time, the entry field is replace by a normal text and therefor makes it impossible to alter the values of the variables. The only way is to remove the part of the rule and re-enter it. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: