Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3201

Unable to retrieve a JSON formatted Task instance via the REST API

XMLWordPrintable

    • ER3
    • +
    • Hide
      Latest summary:

      REST operations that retrieved Task instances would fail when forced to use the JSON format (ACCEPT header). There was a server side error thrown when the server instance tried to convert the (JAXB) Task instance to JSON. The workaround for this issue was to use XML instead of JSON (by setting it in the ACCEPT header).
      This issue has now been fixed in the latest version of the product and the workaround is no longer required.

      Old Summary:

      REST operations that retrieve Task instances will fail when forced to use the JSON format (ACCEPT header). There is a server side error thrown when the server instance tries to convert the (JAXB) Task instance to JSON. To workaround this issue, please use XML instead of JSON (by setting it i the ACCEPT header).


      Cause:

      Consequence:

      Fix:

      Result:
      Show
      Latest summary: REST operations that retrieved Task instances would fail when forced to use the JSON format (ACCEPT header). There was a server side error thrown when the server instance tried to convert the (JAXB) Task instance to JSON. The workaround for this issue was to use XML instead of JSON (by setting it in the ACCEPT header). This issue has now been fixed in the latest version of the product and the workaround is no longer required. Old Summary: REST operations that retrieve Task instances will fail when forced to use the JSON format (ACCEPT header). There is a server side error thrown when the server instance tries to convert the (JAXB) Task instance to JSON. To workaround this issue, please use XML instead of JSON (by setting it i the ACCEPT header). Cause: Consequence: Fix: Result:

      Description of problem:

      REST operations that retrieve Task instances will fail when forced to use the JSON format (ACCEPT header).

      How reproducible:

      Always.

      Steps to Reproduce:
      1. Call http://server:<port>/business-central/rest/task/<taskId> (GET, with ACCEPT header that specifies the application/json format)

      Actual results:

      An error will be thrown on the server side when the server instance tries to convert the (Jaxb)Task instance to JSON.

      Expected results:

      No error will occur and the client will receive a correctly filled-in and correctly (JSON) formatted instance of the (Jaxb)Task.

              marco.rietveld Marco Rietveld (Inactive)
              marco.rietveld Marco Rietveld (Inactive)
              Ivo Bek Ivo Bek
              Ivo Bek Ivo Bek
              Abhijit Humbe, Cheng Zhang (Inactive), Kris Verlaenen, Marek Baluch, Michael Biarnes Kiefer, Rajesh Rajasekaran, Vikram Goyal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: