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

[GSS](7.0.x) org.kie.server.json.format.date has no effect anymore in RHPAM 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.0.0.GA
    • jBPM Core, Kie-Server
    • None
    • Red Hat JBoss EAP 7.1.2

      Following request:

      curl -X GET "http://localhost:8280/kie-server/services/rest/server/queries/processes/instances?page=0&pageSize=10&sortOrder=true" -H "accept: application/json"
      

      Returns this:

      {
        "process-instance": [
          {
            "process-instance-id": 7,
            "process-id": "src.HandlerProcess",
            "process-name": "HandlerProcess",
            "process-version": "1.0",
            "process-instance-state": 1,
            "container-id": "HandlerProject_1.0.0",
            "initiator": "anton",
            "start-date": {
              "java.util.Date": 1530531122111
            },
            "process-instance-desc": "HandlerProcess",
            "correlation-key": "7",
            "parent-instance-id": -1,
            "sla-compliance": 0,
            "sla-due-date": null,
            "active-user-tasks": null,
            "process-instance-variables": null
          }
        ]
      }
      

      When you restart the server with org.kie.server.json.format.date = true, the start-date value is NOT formatted. The query still returns the same start-date value

      It was formatted in version 6 , i.e.

       "start-date": "2018-07-02T03:54:06.328+0200"
      

      so this is likely a regression in RHPAM 7, probably caused by different jackson version.

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-agiertli Anton Giertli
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: