Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2012

Invalid REST API return type - quoted string instead of json/xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.6.0.GA
    • 7.2.0.GA
    • Kie-Server

      POST baseUrl/admin/containers/containerId/tasks/taskId/reassignments returns a number (not sure what the number represents) regardless of Accept header (application/json or application/xml) ...

      When starting a case (and starting a process???, need to verify), whatever Accept header is specified (application/json or application/xml) a quoted string is returned.

      It should return a valid object or a valid Accept header should only be text/plain.

      This causes problem with any automation scripts that expect valid json / xml objects.

            elguardian@gmail.com Enrique González Martínez (Inactive)
            ibek1@redhat.com Ivo Bek
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: