You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Sebastian Herold (JIRA)" <ji...@apache.org> on 2009/04/17 12:41:14 UTC
[jira] Created: (JCR-2077) in BeanConverter.getObject the
"parent"-Object is always null
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.
[jira] Moved: (OCM-11) in BeanConverter.getObject the
"parent"-Object is always null
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ 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.