Hi Matthew,
Replying in line:

it seems that the version of cxf in 7.0.5 successfully converts the
> boolean fields to true, but the one in 7.1.0 doesn't

As far as I see, TomEE 7.0.5 [1] and  7.1.0 [2] are both using cxf 3.1.15
version and johnzon 1.0.1


it works using 7.0.5 but not with 7.1.0

Can you please share the logs you are getting when the client is not
working on 7.1.0.
An example project would be useful to replicate the scenario locally too.


[1]
https://github.com/apache/tomee/blob/f6d053a6289d7ff5f0bd71ad041ca80831427bf9/pom.xml#L106
https://github.com/apache/tomee/blob/f6d053a6289d7ff5f0bd71ad041ca80831427bf9/pom.xml#L136

[2]
https://github.com/apache/tomee/blob/8c6358cca46e431df78fc9c7d818259a9ba8635b/pom.xml#L107
https://github.com/apache/tomee/blob/8c6358cca46e431df78fc9c7d818259a9ba8635b/pom.xml#L137


El mié., 22 may. 2019 a las 11:31, Matthew Broadhead
(<[email protected]>) escribió:

> actually wouldn't it be johnzon that has changed its behaviour?
>
> On 22/05/2019 17:19, Matthew Broadhead wrote:
> > i am using keycloak 4.5.0 for my security.  when i post a
> > org.keycloak.representations.idm.UserRepresentation using cxf
> > webclient it works using 7.0.5 but not with 7.1.0
> >
> > e.g.
> > userRepresentation.setEnabled(true);
> > userRepresentation.setEmailVerified(true);
> > Response response =
> > wc.type(MediaType.APPLICATION_JSON).post(userRepresentation);
> >
> > it seems that the version of cxf in 7.0.5 successfully converts the
> > boolean fields to true, but the one in 7.1.0 doesn't
> >
> > i can post to the cxf list but do you know what the version numbers are?
> >
> > also it seems that keycloak have their getters and setters all messed
> > up, they are using a Boolean object but setting like a primitive e.g.
> > public Boolean isEnabled() {
> >     return enabled;
> > }
> > public void setEnabled(Boolean enabled) {
> >     this.enabled = enabled;
> > }
>
>

-- 
Atentamente:
César Hernández.

Reply via email to