[
http://jira.nuxeo.org/browse/NXP-4043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59748#action_59748
]
Radu Darlea commented on NXP-4043:
----------------------------------
http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/8aa4c38b7fb9
- keep the document manager bean alive: wrap all exceptions in ClientException
> Keep the export running after seeing errors
> -------------------------------------------
>
> Key: NXP-4043
> URL: http://jira.nuxeo.org/browse/NXP-4043
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Core JCR Storage
> Affects Versions: 5.1.6
> Reporter: Radu Darlea
> Assignee: Radu Darlea
> Fix For: 5.1.6
>
>
> At some point calling session.getSourceDocument(docRef) (and maybe others)
> can fail.
> The point is that if when calling a method on the core it creates a runtime
> exception (like NPE), the container will kill the bean and we will end up
> with the error can not find statefull bean (without knowing the cause of the
> problem).
> I think the problem is that in 5.1.6, getSourceDocument implementation does
> not catch all errors. This has been done in recent core version is order to
> avoid this problem.
> - provide a patched version of DocumentManagerBean that is safe for
> getSourceDocument (and other methods)
> - be sure the exporter code will just log errors when versions are missing
> but will continue
--
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