#117 Orphans not removed from Sets

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

Orphans are not being removed from Sets due to the result being added back into the original field (thus keeping all removed items).

See http://sourceforge.net/forum/message.php?msg_id=4589384

Discussion

  • Luke Robinson

    Luke Robinson - 2007-10-29

    Logged In: YES
    user_id=1565762
    Originator: YES

    Clears 'field' before adding all items from 'result' and then returning.
    File Added: dozer-orphan-fix.patch

     
  • Luke Robinson

    Luke Robinson - 2007-10-30

    Logged In: YES
    user_id=1565762
    Originator: YES

    To avoid relying on Obj.equals(ObjPrime) returning true, we now hold all mapped fields in a Set and return the contents this set if removeOrphans = true
    File Added: dozer-orphan-fix-2.patch

     
  • Matt Tierney

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

    Matt Tierney - 2007-12-16

    Logged In: YES
    user_id=1236069
    Originator: NO

    I applied the patches as-is and everything worked great. Thanks for submitting and your patience with us applying it to the code base.

     
  • Matt Tierney

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

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks