[ http://jira.andromda.org/browse/JAVA-29?page=all ] Wouter Zoons closed JAVA-29: ----------------------------
Resolution: Fixed it was a small issue, I was recursively working my way through the inheritance tree but I was adding the elements of 'this' class after processing the parents, when I changed it to have it add the elements prior to going up the parent hierarchy the order was back to normal now that I'm working on it .. I noticed that the first elements are the ones closest to the leaf class, the last elements are the ones closest to the root class .. perhaps this should be switched ? I'll check with the others as this would potentially break existing projects using AndroMDA > Incorrect super-class constructor calls in ValueObjects hierarchies of > greater 1 with optional associations > ----------------------------------------------------------------------------------------------------------- > > Key: JAVA-29 > URL: http://jira.andromda.org/browse/JAVA-29 > Project: Java Cartridge > Type: Bug > Environment: AndroMDA 3.2-RC1-SNAPSHOT > Reporter: olaf kruger > Assignee: Wouter Zoons > > In hierarchies of ValueObjects of a depth greater 1 - i.e. where a "chain" of > super-class ctor's need to issued - AND where the "final" class has an > optional association to another class, the call to super() of the immediate > super-class is incorrect (i.e. the arguments are all correct but passed in > the wrong sequence). But only in the case of an optional association to > another class. > For a full example, the forum discussion: > http://galaxy.andromda.org/forum/viewtopic.php?p=10341#10341 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642