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

Add default UI level Exception handling for errors throwed from withing Sync Listeners

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6
    • Component/s: Core, Web Common
    • Impact type:
      API added

      Description

      When an exception is throwed by a Listener that marks the Transaction as RollbackOnly we should have a default ExceptionHandler that displays a custom page that leverage the information contained in the Exception rather that displaying a generic error.

      The first use case is for Quota management : when the listener break the transaction to enforce the Quota Management we should be able to display the user that the operation can not be done because of the Quota rules.

      There are several steps :

      • manage correctly the Exception bubbling
      • Intercep the exception at a point we can actually do something
      • manage the Seam state

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: