Closed harinandan-reddy closed 1 year ago
Changing the annotation on Activity timestamp field should help resolve the issue
@JsonProperty("timestamp")
@JsonInclude(Include.NON_EMPTY)
@JsonFormat(
shape = Shape.STRING,
pattern = "yyyy-MM-dd'T'HH:mm:ss[.n]XXX",
timezone = "UTC"
)
private OffsetDateTime timestamp;
Please go ahead and submit a PR for your proposed fix, linking it to this issue. Thanks.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.14.2
Describe the bug
We some time receive activity event with timetstamp not having milli seconds like 2022-09-23T09:19:29Z which results in the following error
To Reproduce
Steps to reproduce the behaviour:
Run the following unit test to reproduce the error
Expected behaviour
The Activity object should be deserialised without any error
Screenshots
NA
Additional context
NA