IgnoreUnmapped incorrectly ignores members mapped in a higher level in the class hierarchy

Bug #791647 reported by Philip Peitsch on 2011-06-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Transmute
Undecided
Unassigned

Bug Description

e.g.,

class Class1
{
    string Member1 { get; set; }
}

class Class2 : Class1
{
   string Member2 { get; set; }
}

map.RegisterOneWayMap<Class2, SomethingElse>(
    mapping => { mapping.Set(to => to.Member1, from => from.Member1); mapping.IgnoreUnmapped(); ) }
);

Does not correctly map Member1!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers