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-11) in BeanConverter.getObject the "parent"-Object is always null
Date Mon, 27 Apr 2009 15:02:34 GMT

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

Jukka Zitting moved JCR-2077 to OCM-11:
---------------------------------------

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

> in BeanConverter.getObject the "parent"-Object is always null
> -------------------------------------------------------------
>
>                 Key: OCM-11
>                 URL: https://issues.apache.org/jira/browse/OCM-11
>             Project: Jackrabbit OCM
>          Issue Type: Bug
>            Reporter: Sebastian Herold
>            Priority: Minor
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> There is an error in class ObjectConverterImpl.java line 754 : 
> bean = beanConverter.getObject(session, node, beanDescriptor,  mapper.getClassDescriptorByClass(beanClass),
beanClass, bean);
> beacuse the bean to retrieve is passed as parent-object-parameter to getObject-function
and this gives always null. The correct version schould be:
> bean = beanConverter.getObject(session, node, beanDescriptor,  mapper.getClassDescriptorByClass(beanClass),
beanClass, object);
> That allows us to use the parent object in a BeanConverter. A patched version is accessable
under:
> https://dev.beaglesoft.de/maven/public/org/apache/jackrabbit/jackrabbit-ocm/1.5.3-patched/jackrabbit-ocm-1.5.3-patched-sources.jar

-- 
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