You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2009/04/15 18:48:14 UTC

[jira] Created: (JCR-2073) Redundant calls to RepositoryService.getPropertyInfo() for jcr:uuid

Redundant calls to RepositoryService.getPropertyInfo() for jcr:uuid
-------------------------------------------------------------------

                 Key: JCR-2073
                 URL: https://issues.apache.org/jira/browse/JCR-2073
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jcr2spi
            Reporter: Michael Dürig


Even though a previous call to RepositoryService.getItemInfos() includes jcr:uuid, RepositoryService.getPropertyInfo() is always called for jcr:uuid anyway. 

The problem occurs in o.a.j.jcr2spi.hierarchy.NodeEntryImpl.notifyUUIDorMIXINModified() where the state is accessed. Since the state is not complete at this point, it is resolved which results in the redundant call.


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


[jira] Commented: (JCR-2073) Redundant calls to RepositoryService.getPropertyInfo() for jcr:uuid

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745346#action_12745346 ] 

Michael Dürig commented on JCR-2073:
------------------------------------

The same seems to apply for the jcr:mixinTypes property

> Redundant calls to RepositoryService.getPropertyInfo() for jcr:uuid
> -------------------------------------------------------------------
>
>                 Key: JCR-2073
>                 URL: https://issues.apache.org/jira/browse/JCR-2073
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi
>            Reporter: Michael Dürig
>
> Even though a previous call to RepositoryService.getItemInfos() includes jcr:uuid, RepositoryService.getPropertyInfo() is always called for jcr:uuid anyway. 
> The problem occurs in o.a.j.jcr2spi.hierarchy.NodeEntryImpl.notifyUUIDorMIXINModified() where the state is accessed. Since the state is not complete at this point, it is resolved which results in the redundant call.

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