You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Christophe Lombart (JIRA)" <ji...@apache.org> on 2007/05/13 23:10:15 UTC

[jira] Resolved: (JCR-866) ResidualProperties Converter uses wrong AtomicType Converter on update

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

Christophe Lombart resolved JCR-866.
------------------------------------

    Resolution: Fixed

Patch applied. Sorry for the delay. Felix, can you check if it is ok ? thanks

> ResidualProperties Converter uses wrong AtomicType Converter on update
> ----------------------------------------------------------------------
>
>                 Key: JCR-866
>                 URL: https://issues.apache.org/jira/browse/JCR-866
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jcr-mapping
>            Reporter: Felix Meschberger
>         Assigned To: Christophe Lombart
>         Attachments: GRFT-131.diff
>
>
> When writing back data, the ResidualPropertiesCollectionConverterImpl.internalSetProperties method looks at the type of the Java object
> to find the atomic type converter instead of getting the converter according to the collection descriptor.
> This may lead to NullPointerExceptions in case the concrete type is an extension (or implementation) of the declared type.
> I am currently working on a patch to attache to this bug.

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