jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandrine Raffalli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1895) Different behaviors between insert and update of a collection
Date Wed, 03 Dec 2008 15:59:44 GMT

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

Sandrine Raffalli updated JCR-1895:
-----------------------------------

    Description: 
In the DefaultCollectionConverter in the insert method : if the element has an identifier
field it's this field that is taken as the elementJcrName. Else it is the jcrElementName of
the collection or the default name.

In the update method, if the element has an id field and an uuid field, it's the jcrElementName
of the collection or the default name that is taken, not the id field.
In case of insert or update, it must take the same identifier to build the path. 

  was:
In the DefaultCollectionConverter in the insert method : if the element has an identifier
field it's this field that is took for the elementJcrName. Else it is the jcrElementName of
the collection or the default name.

In the update method, if the element has an id field and an uuid field, it's the jcrElementName
of the collection or the default name that is took, not the id field.
In case of insert or update, it must take the same identifier to build the path. 

        Summary: Different behaviors between insert and update of a collection  (was: Different
behavior with insert and update of a collection)

> Different behaviors between insert and update of a collection
> -------------------------------------------------------------
>
>                 Key: JCR-1895
>                 URL: https://issues.apache.org/jira/browse/JCR-1895
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-ocm
>    Affects Versions: 1.6.0
>            Reporter: Sandrine Raffalli
>
> In the DefaultCollectionConverter in the insert method : if the element has an identifier
field it's this field that is taken as the elementJcrName. Else it is the jcrElementName of
the collection or the default name.
> In the update method, if the element has an id field and an uuid field, it's the jcrElementName
of the collection or the default name that is taken, not the id field.
> In case of insert or update, it must take the same identifier to build the path. 

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