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/14 16:14:16 UTC

[jira] Commented: (JCR-882) Add more unit on collection fields

    [ https://issues.apache.org/jira/browse/JCR-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495612 ] 

Christophe Lombart commented on JCR-882:
----------------------------------------

Null values for collection attributes are not well supported. We have to test that for all CollectionConverters.

Here is a good scenario to test :

Model : Class A contains an attribute "collection" which is a list of items based on class B

Create an instance of A with "collection" = null
insert A / save
Get instance of A
set the attribute "collection"
update A /save 

> Add more unit on collection fields
> ----------------------------------
>
>                 Key: JCR-882
>                 URL: https://issues.apache.org/jira/browse/JCR-882
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jcr-mapping
>            Reporter: Christophe Lombart
>
> collection fields based on List are  supported not yet tested correctly.
> Check if other kind collection are well tested

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