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

Leo Baschy (JIRA) jira-events at jboss.com
Wed Jan 24 02:43:53 EST 2007


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


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