[
http://jira.nuxeo.org/browse/NXP-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31903#action_31903
]
Florent Guillaume commented on NXP-1911:
----------------------------------------
Please specify the version of Nuxeo that you're using.
The error is:
javax.jcr.ReferentialIntegrityException. message:
5bfe040a-0276-456f-9f05-b413bf4f60a9: the node cannot be removed because it is
still being referenced.
How is your document created or used? Are there versions in play? Are you using
JCR references?
> Exception
> ----------
>
> Key: NXP-1911
> URL: http://jira.nuxeo.org/browse/NXP-1911
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Bug
> Reporter: Anne-Lise Mesnil
> Assignee: Florent Guillaume
> Priority: Blocker
>
> Bonjour,
> Parfois, lors d'une suppression d'une ressource nous avons l'exception
> suivante :
> org.nuxeo.ecm.core.api.ClientException: Failed to get children for
> 8180da63-a6bc-48f5-a03d-87b4ea976523
> Le code que nous utilisons est le suivant :
> public void removeDocument(ITCSResource document)
> throws DocumentManagerException {
> try {
> if (coreSession != null) {
> DocumentRef documentRef = new
> IdRef(document.getReference());
> coreSession.removeDocument(documentRef);
> coreSession.save();
> }
> } catch (ClientException e) {
> throw new DocumentManagerException(e);
> }
> }
> Cette exception ne nous permet pas de supprimer l'exigence ce qui est tres
> boquant pour nous. Merci de nous faire un retour sur la/les raison/s du bug
> (mauvaise utilisation de notre part, ...)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets