You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2014/10/01 12:22:33 UTC

[jira] [Created] (OAK-2157) Better error message for getPrimaryItem

Thomas Mueller created OAK-2157:
-----------------------------------

             Summary: Better error message for getPrimaryItem
                 Key: OAK-2157
                 URL: https://issues.apache.org/jira/browse/OAK-2157
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


NodeImpl.getPrimaryItem can throw an exception with the following (fixed) error message:

{noformat}
No primary item present on node getPrimaryItem
{noformat}

It looks like the intention was to include the path, but in the source code, "this" refers to the inner class, not the node.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)