[jboss-jira] [JBoss JIRA] Closed: (JBRULES-261) Mismatched types in field constraints

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Fri Jul 6 14:40:52 EDT 2007


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

Edson Tirelli closed JBRULES-261.
---------------------------------

    Resolution: Done

Fixed. Test case added.

> Mismatched types in field constraints
> -------------------------------------
>
>                 Key: JBRULES-261
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-261
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Rule Assemply/SPI
>    Affects Versions: 3.0.1
>            Reporter: Michael Neale
>         Assigned To: Edson Tirelli
>            Priority: Minor
>             Fix For:  4.0.0.MR4
>
>
> Problem: If a rule compares two fields and one of them is a char and the
> other one is a String, the match is always negative. No type-mismatch error
> or warning is displayed. This can be quite confusing. The attached Eclipse
> project illustrates this problem.
> Suggested Solution: If all information is available at compile-time an error
> should be generated on type mismatches. Otherwise there should be a warning
> during run-time and maybe a type conversion attempt.

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