[dna-issues] [JBoss JIRA] Updated: (DNA-546) JCR Workspace and Session Imports Can Fail on JPA Connector
Brian Carothers (JIRA)
jira-events at lists.jboss.org
Thu Nov 26 19:41:29 EST 2009
[ https://jira.jboss.org/jira/browse/DNA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers updated DNA-546:
--------------------------------
Attachment: DNA-546_map_node_change.patch
The first patch makes some preparatory tweaks to the MapRepository code. MapNode is renamed to DefaultMapNode and now implements a new interface named MapNode. Additionally, some bulk mutators are added.
The first part is a change that had been kicked around during the original development of the MapRepository code and, IIRC, was bypassed as one of those "if we need it later, we'll do it" changes. I'm doing it now to enable the creation of a JpaNode for the new JPA connector model. Instead of implementing the MapNode interface by managing state internally (like DefaultMapNode does), the JpaNode will be an adapter over a JPA entity.
The bulk mutators are added to help limit the number of times that the properties for a node need to be reserialized.
Since these changes are pretty safe and self-contained, I'm going to commit them without review.
> JCR Workspace and Session Imports Can Fail on JPA Connector
> -----------------------------------------------------------
>
> Key: DNA-546
> URL: https://jira.jboss.org/jira/browse/DNA-546
> Project: DNA
> Issue Type: Bug
> Components: Connectors, JCR
> Affects Versions: 0.6
> Reporter: Brian Carothers
> Fix For: 0.7
>
> Attachments: DNA-546_map_node_change.patch
>
>
> Importing a set of nodes from an XML file will fail if one of the imported nodes has the same jcr:uuid as an existing node in the graph and removeExisting is true and the new location for the imported node and its prior location are both accessed through the same JPA connector.
> The DocumentViewImportTest is disabled (commented out) in the JPA integration test as a result of this defect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list