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

More configurability in CMIS error HTTP mapping

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: CMIS

      Description

      NXP-16012 introduced the mapping of CMIS recoverable errors to specific HTTP codes.

      We need this to be overridable by a customer, to provide application-specific error codes when needed.

      Now if org.nuxeo.cmis.errorextractor is defined, it can be the name of a class implementing org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisErrorHelper.ErrorExtractor and its extractError method can decide what to do. The default if nothing is defined is org.nuxeo.ecm.core.opencmis.bindings.DefaultErrorExtractor which implements the previous behavior.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: