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

Log something when calling setTransactionRollbackOnly from TransactionalCoreSessionWrapper

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.5
    • Component/s: Core
    • Tags:
    • Sprint:
      Sprint RepoTeam 5.9.5-1

      Description

      TransactionalCoreSessionWrapper calls TransactionHelper.setTransactionRollbackOnly if an exception is caught on a method not marked NoRollbackOnException. However if the exception is later swallowed, it makes it hard to debug why the transaction is marked rollback only.

      --> add a WARN when we do this.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified