#103 Inheritance mapping not working correctly - Part Deux

closed
None
5
2007-09-27
2007-07-20
No

Bug fix 1486105 introduced a new bug:

It seems that the fixation of this introduced another bug. As far as I
know, to fix this bug, a default class map is created if one of the
destination or source classes given in the mapping defininiton is different
from the actual object classes (as in the case of mapping subclasses using
a mapping for super classes). However this default mapping causes an
override effect. For example if there is such a declaration in the
mapping:
<field>
<a>propA.realProp</a>
<b>propA</b>
</field>
MappingProcessor also maps propA to propA because of the default mapping,
causing an override effect. Is there any way to bypass this, or should this
be reported as a new bug?

Discussion

  • Jacqueline

    Jacqueline - 2007-07-22

    Logged In: YES
    user_id=1849340
    Originator: NO

    I have also encountered this bug. It's causing me problems as I have a custom converter on the field mapping, which is being overridden (and thus ignored) due to it applying the default mapping.

     
  • Franz Garsombke

    Franz Garsombke - 2007-07-22

    Logged In: YES
    user_id=550744
    Originator: YES

    This will be fixed in the 4.x branch and will go out in the next release.

    Franz

     
  • Franz Garsombke

    Franz Garsombke - 2007-07-31

    Logged In: YES
    user_id=550744
    Originator: YES

    Fixed in the current_release branch. Will go out on 4.1 release.

     
  • Franz Garsombke

    Franz Garsombke - 2007-07-31
    • status: open --> pending
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 45 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Franz Garsombke

    Franz Garsombke - 2007-09-15
    • status: closed --> pending
     
  • Franz Garsombke

    Franz Garsombke - 2007-09-27
    • 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