Menu

#223 MapFieldMap copy constructor doesn't copy the CustomConverte

Dozer v5.2.1
closed-fixed
5
2010-02-01
2009-10-12
Anonymous
No

The org.dozer.fieldmap.MapFieldMap.MapFieldMap(FieldMap) constructor should also copy the customConverterParam property of the other org.dozer.fieldmap.FieldMap:
setCustomConverterParam(fieldMap.getCustomConverterParam());
Otherwise the org.dozer.ConfigurableCustomConverter doesn't receive a customConverterParam, if you use a mapping like this:

<field custom-converter-id="MyCustomConverter" custom-converter-param="MyParameter" >
<a key="aKey">aMap</a>
<b>destinationField</b>
</field>

Discussion

  • dmitry (lv)

    dmitry (lv) - 2010-01-08
    • assigned_to: nobody --> vadeg
     
  • dmitry (lv)

    dmitry (lv) - 2010-02-01

    fixed in trunk. Will be released in 5.2.1

     
  • dmitry (lv)

    dmitry (lv) - 2010-02-01
    • milestone: 929386 --> Dozer v5.2.1
    • assigned_to: vadeg --> buzdin
    • status: open --> closed-fixed
     

Log in to post a comment.