tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cesar Hernandez (JIRA)" <>
Subject [jira] [Commented] (TOMEE-2565) JSONB Capabilities Broken in 7.1.1 Plume
Date Tue, 30 Jul 2019 00:44:00 GMT


Cesar Hernandez commented on TOMEE-2565:

Hi [~daveiwd]

I did a first swing catching up with this issue.

By looking at the release notes for 7.1.1 ([])
I see two potential related commits:

 # Update TomEE with Johnzon 1.0.2 
 # DateTimeParseException Regression when upgrading to TomEE 7.1.0,
[,] []

Since you provided a finely detailed repro maven project, now the ToDo is to test the 7.1.1
branch against your project removing one change at the time. 

I'm not familiar with the code from Johnzon but will be happy to start digging in if the upgrade
to Johonzon is the root cause, if not then my plan is to study and understand the issue solved
by [~rzo1] in TomEE-2233.


> JSONB Capabilities Broken in 7.1.1 Plume
> ----------------------------------------
>                 Key: TOMEE-2565
>                 URL:
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 7.1.1
>            Reporter: David Gannon
>            Priority: Major
>         Attachments:
> We have an existing app that has a REST client that utilizes various JSON-B classes and
annotations, such as javax.json.bind.JsonbConfig, javax.json.bind.config.PropertyNamingStrategy,

> javax.json.bind.config.PropertyVisibilityStrategy and
> javax.json.bind.annotation.JsonbTypeAdapter annotation.  We have been using 
> them in some REST clients running on 7.1.0 Plume and they work just fine. 
> But on 7.1.1 with identical server configs, all of the JSONB configuration 
> and the annotated fields seem to be ignored. 
> In addition, under 7.1.0, the provider has a built-in mappings for converting java.time.LocalDate
and java.time.LocalDateTime that do not seem to be present in 7.1.1. Under 7.1.0, the implementation
converts them to and from ISO format whereas 7.1.1 produces json as though it used the "toString"
> I am attaching a small project that reproduces the problems.  As supplied, the project
will use tomee 7.1.0. Simply run "mvn clean package". Then, to see the issue in 7.1.1, change
the property "tomee.version" to 7.1.1 and run "mvn clean package".

This message was sent by Atlassian JIRA

View raw message