johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JOHNZON-184) JsonbAdapter declared through @JsonbTypeAdapter can not convert object properly
Date Wed, 29 Aug 2018 15:36:00 GMT

    [ https://issues.apache.org/jira/browse/JOHNZON-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596483#comment-16596483
] 

Mark Struberg commented on JOHNZON-184:
---------------------------------------

Thanks for the report and test case! Should be fixed in trunk now. Can you please retest?

> JsonbAdapter declared through @JsonbTypeAdapter can not convert object properly
> -------------------------------------------------------------------------------
>
>                 Key: JOHNZON-184
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-184
>             Project: Johnzon
>          Issue Type: Bug
>          Components: JSON-B
>    Affects Versions: 1.1.7
>            Reporter: Benoit Prudhomme
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 1.1.9
>
>         Attachments: JohnzonLibTest.java
>
>
> When using the @JsonbTypeAdapter, it seems that a JohnzonJsonbAdapter wraps the JsonbAdapter
declared.
> Then, JohnzonJsonbAdapter seems to be used for AdapterKey build instead of the delegated
one. 
> Since JohnzonJsonbAdapter is not direclty implementing Adapter.class, no key is built.
> org.apache.johnzon.mapper.MappingParserImpl#getAdapterKey:451
> May this specific case be a sign of a deeper issue ?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message