#115 Problem when getters and setters are on different interfaces

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

Wildcard mapping is breaking if I declare the getter and setters of the source object on different interfaces.

For example:

public interface PersonProfile {
String getName();
}

public interface Person extends PersonProfile {
Long getId();

void setName(String name);
}

The wildcard mapping works fine if the mapping is not declared at all in the mapping file. As soon as I declare the mapping in the mapping file, wildcard mapping no longer works.

Attached is a project that reproduces the problem. Just run com.cleanoffer.DozerTest.

This is causing us major problems as we upgrade to 4.1. We did not encounter this particular problem in version 3.2.1.

Discussion

  • John Hampton

    John Hampton - 2007-10-16

    Sample project that reproduces the problem

     
  • Matt Tierney

    Matt Tierney - 2007-12-16

    Logged In: YES
    user_id=1236069
    Originator: NO

    fixed. This was a good one.

     
  • Matt Tierney

    Matt Tierney - 2007-12-16
    • assigned_to: nobody --> mhtierney
    • status: open --> pending
     
  • 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