[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-689) Seam framework Query too sensitive about keyword case

Gavin King (JIRA) jira-events at jboss.com
Wed Jan 24 04:37:56 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-689?page=all ]

Gavin King updated JBSEAM-689:
------------------------------

    Fix Version/s: 1.1.5.GA
         Assignee: Gavin King

> Seam framework Query too sensitive about keyword case
> -----------------------------------------------------
>
>                 Key: JBSEAM-689
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-689
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 1.1.1.GA
>            Reporter: Leo Baschy
>         Assigned To: Gavin King
>             Fix For: 1.1.5.GA
>
>         Attachments: Query.java.patch
>
>
> When the org.jboss.seam.framework.Query uses anything but lower case "from" and "order" then in Query method getCountEjbql calls to indexOf return -1, which then causes an exception when calling substring.
> Further, indexOf("from") and indexOf("order") also would match e.g. fromAddress or orderNumber, which would be wrong.
> Upper case or any case "FROM" and "ORDER" should be tolerated.  Names that happen to contain letter sequences "from" or "order" should be ignored.

-- 
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 seam-issues mailing list