jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-980) Single quote in contains function is not parsed correctly
Date Mon, 25 Jun 2007 08:37:25 GMT

     [ https://issues.apache.org/jira/browse/JCR-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger resolved JCR-980.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Fixed in revision: 550412

> Single quote in contains function is not parsed correctly
> ---------------------------------------------------------
>
>                 Key: JCR-980
>                 URL: https://issues.apache.org/jira/browse/JCR-980
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> If there is a single quote in the contains statement the parser will throw an exception.
> Example:
> //element(*, nt:resource)[jcr:contains(., 'it''s fun')]
> The LuceneQueryBuilder replaces the single quote with a double quote and hence the lucene
fulltext query parser fails because there is a missing closing double quote. Not sure why
this is done in the code, maybe this is a left over from an early JSR 170 draft.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message