-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
7.0.0.GA
-
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.
- clones
-
RHPAM-1324 org.kie.server.json.format.date has no effect anymore in RHPAM 7
- Closed