[dna-issues] [JBoss JIRA] Commented: (DNA-368) Referenced Nodes Can Be Deleted
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Thu Jan 7 11:22:30 EST 2010
[ https://jira.jboss.org/jira/browse/DNA-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12502758#action_12502758 ]
Randall Hauch commented on DNA-368:
-----------------------------------
Right now its not really very easy to write a single query that finds all references to this type, since we don't know which properties to search/query. We may need to add something to the index so that this is easier. Keep this targeted to 0.7 for the moment (though we may want to create another issue for the index change, keep only that in 0.7, and move this to 1.0).
> Referenced Nodes Can Be Deleted
> -------------------------------
>
> Key: DNA-368
> URL: https://jira.jboss.org/jira/browse/DNA-368
> Project: DNA
> Issue Type: Bug
> Components: JCR
> Affects Versions: 0.3
> Reporter: Brian Carothers
> Fix For: 0.7
>
>
> There is not currently a check in AbstractJcrNode.remove() to see if the node (or any of its child nodes) are targets of references. Per section 7.1.6 of the 1.0.1 specification, this should cause a ReferentialIntegrityException to be thrown.
--
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