jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Moved: (OCM-9) incorrect node type use for frozenNode in ObjectConverterImpl
Date Mon, 27 Apr 2009 15:02:34 GMT

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

Jukka Zitting moved JCR-1893 to OCM-9:

          Component/s:     (was: jackrabbit-ocm)
    Affects Version/s:     (was: 1.6.0)
             Workflow: no-reopen-closed, patch-avail  (was: jira)
                  Key: OCM-9  (was: JCR-1893)
              Project: Jackrabbit OCM  (was: Jackrabbit Content Repository)

> incorrect node type use for frozenNode in ObjectConverterImpl
> -------------------------------------------------------------
>                 Key: OCM-9
>                 URL: https://issues.apache.org/jira/browse/OCM-9
>             Project: Jackrabbit OCM
>          Issue Type: Bug
>            Reporter: Sandrine Raffalli
> The class ObjectConverterImpl provides two methods :
> public Object getObject(Session session, String path);
> public Object getObject(Session session, Class clazz, String path);
> In the first method, if the current node has not a discriminator class name property,
the class descriptor is found with the primaryNodeType or in case of frozen node, with the
frozen primary node type .
> In the second method, the class descriptor is retrieved with the given class and next
an alternative descriptor is tried to find, first with a class name discriminator and next
with the node type of the current node. But if the current node is a frozen node, a class
descriptor is search for the node type "nt:frozenNode" that have no sense.
> A check must be added in the second method if the current node is a frozen node and retrieve
the frozen primary node type and not the primary node type that is "nt:frozenNode" in this

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

View raw message