[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1575) Guided editor missing "and less than (or equal to)" option in drop-down list

Mark Proctor (JIRA) jira-events at lists.jboss.org
Thu May 1 18:38:20 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBRULES-1575?page=all ]

Mark Proctor updated JBRULES-1575:
----------------------------------

    Fix Version/s: 4.0.7
                   5.0.0-M1

> Guided editor missing "and less than (or equal to)" option in drop-down list
> ----------------------------------------------------------------------------
>
>                 Key: JBRULES-1575
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1575
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-brms
>    Affects Versions: 4.0.4
>         Environment: Windows XP SP2, Sun JRE 1.5.0_14
>            Reporter: Shahad Ahmed
>         Assigned To: Michael Neale
>             Fix For: 5.0.0-M1, 4.0.7
>
>
> I think there's a missing logical "and less than (or equal to)" connective in one of the drop-down lists in the guided editor in the eclipse plug-in and BRMS in version 4.0.4. The problem can be seen when trying to formulate the following constraint on an Integer object in the guided editor - the square brackets on lines 3 and 4 below represent drop-down lists and text boxes.
> 1. WHEN
> 2. Integer
> 3. + intValue [is greater than ] [10]
> 4.            [and less than (or equal to)] [20]
> The problem is that the drop-down list that contains the list of logical connective in line 4 above, does not contains the "and less than (or equal to)" option, but instead has two occurrences of "or less than (or equal to)".
> Looking at the source code, it appears there is a typo in the following file in the drools-jbrms project:
> drools-jbrms\src\main\java\org\drools\brms\client\modeldriven\HumanReadable.java
> In the class static initializer, I think you have to change the line with condition "&& <=" to:
> operatorDisplayMap.put( "&& <=", "and less than (or equal to)" );
> Regards
> Shahad

-- 
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