[jboss-jira] [JBoss JIRA] Created: (JBRULES-482) ACTIVATION-GROUP not processed by ActionType

Steven Williams (JIRA) jira-events at jboss.com
Sun Sep 10 21:08:43 EDT 2006


ACTIVATION-GROUP not processed by ActionType
--------------------------------------------

                 Key: JBRULES-482
                 URL: http://jira.jboss.com/jira/browse/JBRULES-482
             Project: JBoss Rules
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Decision tables
            Reporter: Steven Williams
         Assigned To: Mark Proctor


The code in ActionType has the following:
 
else if ( value.toUpperCase().startsWith( "X" ) || value.toUpperCase().equals( "ACTIVATION-GROUP" ) )

but above this is a check for startsWith("A") to catch Actions which will always take precedence. Maybe it would be better to check for the full names first and then for the single letter option.

In the documentation it actually specifies that "XOR-GROUP" should be used, so the other option may be to just remove the "ACTIVATION-GROUP" check, however the current code means new options (such as agenda group for instance) would have to use letters that don't really make sense.


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

        



More information about the jboss-jira mailing list