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

org.kie.server.json.format.date has no effect anymore in RHPAM 7

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.8.0.Final
    • Fix Version/s: 7.9.0.Final
    • Component/s: KieServer
    • Labels:
      None
    • Environment:

      Red Hat JBoss EAP 7.1.2

    • Sprint:
      2018 Week 27-29
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  anton.giertli Anton Giertli
                  Tester:
                  Marian Macik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: