[jboss-jira] [JBoss JIRA] Created: (JBRULES-2582) Decision tables should fail fast if the keyword is not correct and not presume that anything that starts with an "N" (including "NOLOOP") means "NAME"

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Mon Jul 19 10:01:53 EDT 2010


Decision tables should fail fast if the keyword is not correct and not presume that anything that starts with an "N" (including "NOLOOP") means "NAME"
------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBRULES-2582
                 URL: https://jira.jboss.org/browse/JBRULES-2582
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-decisiontables
    Affects Versions: 5.1.0.M2
            Reporter: Geoffrey De Smet
            Assignee: Mark Proctor
            Priority: Minor
             Fix For: FUTURE


See org.drools.decisiontable.parser.ActionType#addNewActionType

NO-LOOP triggers no loop
NAME triggers name
NNN triggers name => should fail fast with an clear error message
NOLOOP triggers name => should fail fast with an clear error message

For backwards compatibilty we can allow trim().equals("N") to keep triggering name, but it should fail-fast on NNN etc.

End-users don't edit those parts of the spreadsheet, only end-developers do: they'd rather see a clear error message than unexpected behavior.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list