[jboss-jira] [JBoss JIRA] (DROOLS-337) Unable to set a column "ENABLED" in a spreadsheeet decision table
Thierry Guerin (JIRA)
jira-events at lists.jboss.org
Wed Nov 13 11:01:06 EST 2013
[ https://issues.jboss.org/browse/DROOLS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thierry Guerin updated DROOLS-337:
----------------------------------
Description:
In a spreadsheet decision table, we can add a new column named "ENABLED", which can be used to disable a rule by inserting a value in that column. We want to have the translation in the DRL language with the "enable true/false" statement.
But it doesn't works : When a column ENABLED is added in a spreadsheet and a value is set in a row, it puts CALENDARS in the DRL translation because it is taking the "E" from ENABLED which is for the short code of CALENDARS. We expected to have "enable false/true" instead.
With the 3 classes below, i have found that the ENABLED attribute is not supported in spreadsheet decision table :
org.drools.decisiontable.parser.ActionType
org.drools.decisiontable.parser.DefaultRuleSheetListener
org.drools.template.model.AttributedDRLElement
The ENABLED attribute needs to be managed and the associated documentation modified.
was:
In a spreadsheet decision table, we can add a new column named "ENABLED", which can be used to disable rule on that row.
But it doesn't works : When a column ENABLED is added, it puts CALENDARS in the DRL because it is taking the "E" from ENABLED which is for the short code of CALENDARS.
With the 3 classes below, i have found that the ENABLED attribute is not supported in spreadsheet decision table :
org.drools.decisiontable.parser.ActionType
org.drools.decisiontable.parser.DefaultRuleSheetListener
org.drools.template.model.AttributedDRLElement
The short code for CALENDARS needs to be changed (with the associated documentation) and the ENABLED attribute needs to be managed as well.
> Unable to set a column "ENABLED" in a spreadsheeet decision table
> -----------------------------------------------------------------
>
> Key: DROOLS-337
> URL: https://issues.jboss.org/browse/DROOLS-337
> Project: Drools
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Affects Versions: 5.5.0.Final
> Reporter: Thierry Guerin
> Priority: Minor
> Attachments: ModifiedSourcesDecisiontableParser.zip
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> In a spreadsheet decision table, we can add a new column named "ENABLED", which can be used to disable a rule by inserting a value in that column. We want to have the translation in the DRL language with the "enable true/false" statement.
> But it doesn't works : When a column ENABLED is added in a spreadsheet and a value is set in a row, it puts CALENDARS in the DRL translation because it is taking the "E" from ENABLED which is for the short code of CALENDARS. We expected to have "enable false/true" instead.
> With the 3 classes below, i have found that the ENABLED attribute is not supported in spreadsheet decision table :
> org.drools.decisiontable.parser.ActionType
> org.drools.decisiontable.parser.DefaultRuleSheetListener
> org.drools.template.model.AttributedDRLElement
> The ENABLED attribute needs to be managed and the associated documentation modified.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list