Share

Dozer

Tracker: Patches

5 Determining source field type - ID: 1823435
Last Update: Settings changed ( mhtierney )

determineActualPropertyType does not distinguish between mapping the source
or the destination object. It always checks isDestFieldAccessible, even
though it's finding the propertyType of the source object. This patch uses
isSrcFieldAccessible only when checking the source object.
determineActualPropertyType is a private method in the class and is used on
two places, once for the source object and once for the destination object.
A simple boolean value to distinguish is sufficient.


Knut-Erik Johnsen ( johknu ) - 2007-10-31 12:00

5

Closed

None

Matt Tierney

None

None

Public


Comment ( 1 )

Date: 2007-12-15 23:10
Sender: mhtierneyProject Admin


Thanks for submitting this and your patience with us applying it. I
applied the patch and all unit tests ran green, so this will be in the next
release.


Attached File ( 1 )

Filename Description Download
MapFieldMap.diff A diff between 4.1 version and my version Download

Changes ( 6 )

Field Old Value Date By
status_id Pending 2007-12-16 09:35 mhtierney
close_date 2007-12-15 23:10 2007-12-16 09:35 mhtierney
status_id Open 2007-12-15 23:10 mhtierney
assigned_to nobody 2007-12-15 23:10 mhtierney
close_date - 2007-12-15 23:10 mhtierney
File Added 252167: MapFieldMap.diff 2007-10-31 12:00 johknu