You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2006/11/27 12:07:20 UTC

[jira] Created: (JCR-646) Misleading exception message for jcr:deref()

Misleading exception message for jcr:deref()
--------------------------------------------

                 Key: JCR-646
                 URL: http://issues.apache.org/jira/browse/JCR-646
             Project: Jackrabbit
          Issue Type: Bug
    Affects Versions: 0.9, 1.0, 1.0.1, 1.1
            Reporter: Marcel Reutegger
         Assigned To: Marcel Reutegger
            Priority: Trivial
             Fix For: 1.2


If the type of the second argument in a jcr:deref() function is not a String an InvalidQueryException is thrown with a misleading message: "Wrong second argument type for jcr:like"

It should be rather something like: "Second argument for jcr:deref must be a String"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-646) Misleading exception message for jcr:deref()

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-646?page=all ]

Jukka Zitting updated JCR-646:
------------------------------

    Fix Version/s: 1.1.1
                       (was: 1.2)

Merged the change also the the 1.1 branch in revision 480494 for inclusion in the 1.1.1 release.

> Misleading exception message for jcr:deref()
> --------------------------------------------
>
>                 Key: JCR-646
>                 URL: http://issues.apache.org/jira/browse/JCR-646
>             Project: Jackrabbit
>          Issue Type: Bug
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1
>            Reporter: Marcel Reutegger
>         Assigned To: Marcel Reutegger
>            Priority: Trivial
>             Fix For: 1.1.1
>
>
> If the type of the second argument in a jcr:deref() function is not a String an InvalidQueryException is thrown with a misleading message: "Wrong second argument type for jcr:like"
> It should be rather something like: "Second argument for jcr:deref must be a String"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (JCR-646) Misleading exception message for jcr:deref()

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-646?page=all ]

Marcel Reutegger resolved JCR-646.
----------------------------------

    Resolution: Fixed

Fixed in revision: 479587

> Misleading exception message for jcr:deref()
> --------------------------------------------
>
>                 Key: JCR-646
>                 URL: http://issues.apache.org/jira/browse/JCR-646
>             Project: Jackrabbit
>          Issue Type: Bug
>    Affects Versions: 1.0, 1.0.1, 1.1, 0.9
>            Reporter: Marcel Reutegger
>         Assigned To: Marcel Reutegger
>            Priority: Trivial
>             Fix For: 1.2
>
>
> If the type of the second argument in a jcr:deref() function is not a String an InvalidQueryException is thrown with a misleading message: "Wrong second argument type for jcr:like"
> It should be rather something like: "Second argument for jcr:deref must be a String"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira