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

Fix repository rollback when issuing a unchecked exception at document creation

    XMLWordPrintable

    Details

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

      Description

      Steps to reproduce: deploy addon nuxeo-platform-error-web.
      At root of workspaces, new actions are displayed that perform a document creation followed by errors.
      The one issuing a ClientException after the creation does not rollback the transaction (as expected), but the one issuing a NullPointerException tries to do it and does not rollback correctly. It appears that transaction fails, but that document is created anyway (restarting the server, it is here).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: