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

Generated class does not compile when denormalize field #66

Closed
BenoitCharret opened this Issue Oct 22, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@BenoitCharret

BenoitCharret commented Oct 22, 2015

Hi,

When I try to map something like element.subList to list, the generated class, does not compile anymore.

a test case : https://github.com/BenoitCharret/selma-test/tree/case_2
The name of the variable is not well formed is this case :
if (in.getElement().getSubElementList() != null) {
java.util.ArrayList<com.test.to.AnotherSubElement> ain.getElement().getSubElementList()TmpCollection = new java.util.ArrayList<com.test.to.AnotherSubElement>(in.getElement().getSubElementList().size());
out.setInfos(ain.getElement().getSubElementList()TmpCollection);
for (com.test.from.SubSubElement ain.getElement().getSubElementList()Item : in.getElement().getSubElementList()) {
ain.getElement().getSubElementList()TmpCollection.add(customMapperSubSubElementMapper.asAnotherSubElement(ain.getElement().getSubElementList()Item));
}
}

thanks for your help

@slemesle

This comment has been minimized.

Show comment
Hide comment
@slemesle

slemesle Oct 29, 2015

Hi,

can you confirm that the bug is fixed ?

slemesle commented Oct 29, 2015

Hi,

can you confirm that the bug is fixed ?

@BenoitCharret

This comment has been minimized.

Show comment
Hide comment
@BenoitCharret

BenoitCharret Oct 29, 2015

Yes it fix the issue

BenoitCharret commented Oct 29, 2015

Yes it fix the issue

@slemesle slemesle added the bug label Nov 18, 2015

@slemesle slemesle added this to the 0.13 milestone Nov 18, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment