Always commit the transaction before sending the response
---------------------------------------------------------

                 Key: NXP-7823
                 URL: https://jira.nuxeo.com/browse/NXP-7823
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Web Foundations
    Affects Versions: 5.3.2
            Reporter: Florent Guillaume
            Assignee: Florent Guillaume
            Priority: Critical
             Fix For: 5.5


When transactions are activated, {{NuxeoRequestControllerFilter}} wraps the 
response in a {{CommittingServletResponseWrapper}} to ensure that a commit is 
done before any byte is sent to the client.

But this means that the rest of the server processing will be done without a 
transaction present, which could be worse than the original solution for the 
problem (NXP-5129). The problem is that if the rest of the code runs without a 
transaction, any session opening for instance will not get a session whose 
invalidations have been processed so will potentially see invalid state.

--
This message is automatically generated by JIRA.
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