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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.9.0.Final
    • 7.8.0.Final
    • KieServer
    • None
    • NEW
    • NEW
    • 2018 Week 27-29

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: