Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5129

Race condition on transaction commit when using NuxeoRequestControllerFilter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.3.2
    • Component/s: None

      Description

      In NuxeoRequestControllerFilter the transaction is committed only after chain.doFilter() has returned, but this call may stream information to a client that could act on it before the end of the stream and therefore before the end of the transaction, which means that a client could send a second request depending on the info it has received without the first request actually being committed.

      This may occur when using Chemistry for a document creation, when the full document is refetched sometimes it's not seen.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: