REST API and Camunda Webapp partially broken on WebLogic 12.2.1

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.5.0, 7.4.5, 7.5.0-alpha3
    • Affects Version/s: 7.4.3, 7.5.0-alpha2
    • Component/s: None

      Problem:

      On WebLogic 12.2.1, which is using JAX-RS 2.0, the REST API and Webapp have problems to correctly serialize complex objects. This does not affect all objects and requests. WebLogic comes with Jersey v2.21.1.
      Check the following examples how the bug manifests.

      Following request works:
      http://localhost:7001/engine-rest/task
      Returns:

      [{"id":"8bace13c-e5f1-11e5-8fb9-0242ac110003","name":"Approve Invoice","assignee":null,"created":"2016-03-09T13:22:09","due":"2016-03-16T13:22:09","followUp":null,"delegationState":null,"description":"Approve the invoice (or not).","executionId":"8b8a8c0f-e5f1-11e5-8fb9-0242ac110003","owner":null,"parentTaskId":null,"priority":50,"processDefinitionId":"invoice:1:8a67b7ae-e5f1-11e5-8fb9-0242ac110003","processInstanceId":"8b8a8c0f-e5f1-11e5-8fb9-0242ac110003","taskDefinitionKey":"approveInvoice","caseExecutionId":null,"caseInstanceId":null,"caseDefinitionId":null,"suspended":false,"formKey":"embedded:app:forms/approve-invoice.html"},{"id":"8d33a87c-e5f1-11e5-8fb9-0242ac110003","name":"Prepare \nBank \nTransfer","assignee":null,"created":"2016-03-09T13:22:11","due":"2016-03-16T13:22:11","followUp":null,"delegationState":null,"description":"Prepare the bank transfer.","executionId":"8cd73071-e5f1-11e5-8fb9-0242ac110003","owner":null,"parentTaskId":null,"priority":50,"processDefinitionId":"invoice:1:8a67b7ae-e5f1-11e5-8fb9-0242ac110003","processInstanceId":"8cd73071-e5f1-11e5-8fb9-0242ac110003","taskDefinitionKey":"prepareBankTransfer","caseExecutionId":null,"caseInstanceId":null,"caseDefinitionId":null,"suspended":false,"formKey":"embedded:app:forms/prepare-bank-transfer.html"},{"id":"8d614858-e5f1-11e5-8fb9-0242ac110003","name":"Review Invoice","assignee":"demo","created":"2016-03-09T13:22:12","due":"2016-03-11T13:22:12","followUp":null,"delegationState":null,"description":"Review the invoice.\n\n\nIf data is missing, provide it.","executionId":"8d38d89f-e5f1-11e5-8fb9-0242ac110003","owner":null,"parentTaskId":null,"priority":50,"processDefinitionId":"invoice:1:8a67b7ae-e5f1-11e5-8fb9-0242ac110003","processInstanceId":"8d38d89f-e5f1-11e5-8fb9-0242ac110003","taskDefinitionKey":"reviewInvoice","caseExecutionId":null,"caseInstanceId":null,"caseDefinitionId":null,"suspended":false,"formKey":"embedded:app:forms/review-invoice.html"}]
      

      This request doesn't work:
      http://localhost:7001/engine-rest/process-definition
      Returns:

      [{},{}]
      

      This request also doesn't work correctly:
      http://localhost:7001/engine-rest/process-instance/
      Returns:

      [{"type":"processInstanceDto"},{"type":"processInstanceDto"}]
      

      Expected behavior:
      All requests work as expected.

            Assignee:
            Thorben Lindhauer
            Reporter:
            Christian
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: