Menu

#13 Determining source field type

closed
None
5
2007-12-16
2007-10-31
No

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.

Discussion

  • Knut-Erik Johnsen

    A diff between 4.1 version and my version

     
  • Matt Tierney

    Matt Tierney - 2007-12-15
    • assigned_to: nobody --> mhtierney
    • status: open --> pending
     
  • Matt Tierney

    Matt Tierney - 2007-12-15

    Logged In: YES
    user_id=1236069
    Originator: NO

    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.

     
  • Matt Tierney

    Matt Tierney - 2007-12-16
    • status: pending --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.