[ 
http://jira.nuxeo.org/browse/NXP-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexandre Russel reassigned NXP-3058:
-------------------------------------

    Assignee: Alexandre Russel  (was: Thierry Delprat)

> makes thrown runtime exception rollback the transaction
> -------------------------------------------------------
>
>                 Key: NXP-3058
>                 URL: http://jira.nuxeo.org/browse/NXP-3058
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>            Reporter: Alexandre Russel
>            Assignee: Alexandre Russel
>            Priority: Critical
>
> In code called from a Seam bean I have:
>         newProxy = session.publishDocument(docToPublish, sectionToPublishTo);
>         //following code throws an exception
>         newProxy.setProperty("dublincore", "title", "newName");
>         session.saveDocument(newProxy);
>         session.save();
> the saveDocument throws an exception because no such change is allowed on 
> proxies.
> The proxy is still published when I would expect the transaction to be rolled 
> back and so the proxy not published.

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

Reply via email to