Bug 1145841
| Summary: | Decision table does not support formulas to set PRIORITY | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Alessandro Lazarotti <alazarot> | ||||
| Component: | BRE | Assignee: | manstis | ||||
| Status: | CLOSED EOL | QA Contact: | Marek Winkler <mwinkler> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0.2 | CC: | lpetrovi, manstis | ||||
| Target Milestone: | ER2 | ||||||
| Target Release: | 6.1.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 20:05:10 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: |
|
||||||
Created attachment 940630 [details]
Decision Table
Pull request: https://github.com/droolsjbpm/drools/pull/384 Verified in BRMS 6.1.0 ER2. |
Description of problem: Arithmetic operations or a call to "=ROW()" function does not work to set PRIORITY in Decision Tables for BRMS 6.0.x. It has worked for BRMS 5.x Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Set a cell in PRIORITY column as =ROW() 2. Parse the spreadsheet: ~~~ SpreadsheetCompiler compiler = new SpreadsheetCompiler(); String drl = compiler.compile(ResourceFactory.newClassPathResource("DecisionTable.xls").getInputStream(), InputType.XLS); System.out.println("**** DT rule source: \n" + drl); ~~~ Actual results: org.drools.template.parser.DecisionTableParseException: Priority is not an integer literal, in cell Expected results: Decision Table parsed and working