in BeanConverter.getObject the "parent"-Object is always null
-------------------------------------------------------------
Key: JCR-2077
URL: https://issues.apache.org/jira/browse/JCR-2077
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-ocm
Affects Versions: 1.5.4
Reporter: Sebastian Herold
Priority: Minor
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.