Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(mrbean) materialized beans duplicate properties by prefixing an underscore #21

Closed
rethwischk opened this issue Aug 30, 2016 · 2 comments

Comments

@rethwischk
Copy link

rethwischk commented Aug 30, 2016

The issue documented as fixed at FasterXML/jackson-module-mrbean#20 remains a problem in MrBean 2.7.4. It doesn't occur just during serialization. Any materialized bean appears to have duplicated properties, even when not used for serialization. If we have this

interface A {
  String a;
  int b;
}

the following materialized object will be seen in a debugger.

{
  String a;
  int b;
  String _a;
  int _b;
}
@rethwischk rethwischk changed the title Materialized beans duplicate properties by prefixing an underscore (mrbean) materialized beans duplicate properties by prefixing an underscore Aug 30, 2016
@cowtowncoder
Copy link
Member

@rethwischk Code does not prepend _ any more, so I don't see how this could happen. Are you 100% sure there is no possibility of having an older version in the classpath?

At this point I would need a reproduction of some kind as I can not reproduce the problem you are seeing.

@rethwischk
Copy link
Author

Thanks. I'll investigate and open another issue if the problem remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants