Bug 1105043
| Summary: | Guided rule editor cannot handle 'str' as a substring of fact pattern | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Jiri Locker <jlocker> | ||||
| Component: | Business Central | Assignee: | Mario Fusco <mfusco> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.2 | CC: | kverlaen, rrajasek | ||||
| Target Milestone: | CR1 | ||||||
| Target Release: | 6.0.2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 19:54:12 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: |
|
||||||
Cherry-picked to 6.1.x branch with https://github.com/droolsjbpm/drools/commit/aae610a61ee4d10df6f3ee381f4b80a90e848024 Cherry-picked to 6.0.x branch with https://github.com/droolsjbpm/drools/commit/b2dccf2bfe769fb322e281e20b1d0b2960ed177d |
Created attachment 902469 [details] Guided rule reopened Description of problem: Guided rule editor incorrectly displays rules that have fact patterns containing 'str' substring. Version-Release number of selected component (if applicable): 6.0.2.ER3 How reproducible: always Steps to Reproduce: 1. In data modeler declare a fact with one field of String type and one field whose name contains 'str' of any type. 2. Create new guided rule and define something like: Room( decoration == "tapestry" , strangeField == 11 ) 3. Save and close the rule. Reopen the rule. Actual results: After reopening the rule contains: There is a Room with: decoration == "tape[---please choose ---][Choose...] [---please choose ---][Choose...] Expected results: There is a Room with: decoration [equal to][tapestry] strangeField[equal to][11 ] Additional info: Surprisingly, not a regression.