You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2016/09/08 23:11:20 UTC
[jira] [Assigned] (FELIX-5341) Exception thrown when field in Map
missing from DTO
[ https://issues.apache.org/jira/browse/FELIX-5341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert reassigned FELIX-5341:
---------------------------------------
Assignee: David Bosschaert
> Exception thrown when field in Map missing from DTO
> ---------------------------------------------------
>
> Key: FELIX-5341
> URL: https://issues.apache.org/jira/browse/FELIX-5341
> Project: Felix
> Issue Type: Bug
> Components: Converter
> Reporter: David Leangen
> Assignee: David Bosschaert
>
> I believe that this is not the correct behaviour, so please correct me if I am mistaken.
> If a Map (or Map representation of some object) contains a field, when converting to a DTO that does *not* contain that field, instead of just ignoring the field, an Exception is thrown, and the conversion fails.
> The related code is [here|https://github.com/dleangen/felix/blob/trunk/converter/converter/src/main/java/org/apache/felix/converter/impl/ConvertingImpl.java#L242].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)