Version: 1.5 (using KDE KDE 3.5.0) Installed from: Ubuntu Packages Compiler: gcc-4.0 OS: Linux I've noticed that in 1.5, when generating code from Umbrello, the C++ code generator does not produce vectors for "one to many" relationships in the generated code. 1.4.2 produced vectors without their specializations, 1.5 produces nothing at all. I have tried with compositions, aggregations, and associations with one or both role names defined and also multiplicity "1..*" and "0..*" on one or both sides of the association, set with the "association properties" dialog box. In addition, once a role name or multiplicity has been defined for an association, it cannot be removed; putting a blank in either box will cause it to re-create itself after clicking "OK" in the "association properties" dialog.
> In addition, once a role name or multiplicity has been defined for an > association, it cannot be removed; putting a blank in either box will > cause it to re-create itself after clicking "OK" in the "association > properties" dialog. Right. I'm not sure whether this can be fixed in time for 1.5.2 but there's a workaround: Right click on the label and select "change role name". Confirming an empty role name will delete the label.
Strangely enough, the code generator also generates add/remove methods for these associations, which are fully qualified (have classname:: in front of them), but only if one checks the option to generate accessors. The individual vectors, however, are not generated, and the vectors are returned without being specialized.
This may be a duplicate of 72042, which I just found today. I apologize if it is.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.