Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8725

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.28.0.Final
    • 7.24.0.Final
    • KieServer
    • NEW
    • NEW

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: