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

Fix Nested Transactions when using WebDAV

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.9.1
    • Fix Version/s: 5.9.2
    • Component/s: WebDAV

      Description

      Transactions are started in WI Request filter without checking if a transaction is already running.
      And this may cause such errors

      ERROR [http-bio-0.0.0.0-8080-exec-38] [org.nuxeo.runtime.transaction.TransactionHelper] Unable to start transaction
      java.lang.RuntimeException: javax.transaction.NotSupportedException: Nested Transactions are not supported
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$TransactionManagerWrapper.begin(NuxeoContainer.java:753)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$UserTransactionImpl.begin(NuxeoContainer.java:606)
      	at org.nuxeo.runtime.transaction.TransactionHelper.startTransaction(TransactionHelper.java:172)
      	at org.nuxeo.ecm.webdav.service.WIRequestFilter.doFilter(WIRequestFilter.java:70)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: