Skip to content

make the exportLogDataToJSON supporting the ZonedDateTime format #185

Closed
@mickaelgobbo

Description

@mickaelgobbo

Expected Behaviour

This should be fine to have the different exportLogDataToJSON method supporting the java.time.ZonedDateTime format.

Actual Behaviour

Currently it's not the case, and in the structure of the logData which need to be exported, if a java.time.ZonedDateTime is present, we have the issue:

Encountered error while exporting the log data to a JSON file.
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time 
type `java.time.ZonedDateTime` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through 
reference chain: java.util.ArrayList[0]->java.util.HashMap["timestamp"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions