David Leangen created FELIX-5341:
------------------------------------

             Summary: 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


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)

Reply via email to