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

Fix contributed message body writer ignored in automation resource response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.6.0-HF39, 5.8.0-HF27, 6.0-HF02
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Automation

      Description

      When contributing a new unknown writer in automation server, it is simply ignored.

      This is because org.nuxeo.ecm.automation.server.jaxrs.ResponseHelper.getResponse(Object, HttpServletRequest) falls back by default to the Json Adapter Writer despite the fact the contributed body writers are correctly injected in jaxrs through org.nuxeo.ecm.automation.server.jaxrs.AutomationModule.getSingletons().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                grenard Guillaume Renard
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: