Community
Participate
Working Groups
The "actual" and "ownedActual" fields of the TemplateParameterSubstitution metaclass have changed multiplicity from * to 1, essentially becoming scalars instead of collections in UML 2.2 spec. Please refer to "http://www.eclipse.org/modeling/mdt/uml2/docs/guides/UML2_3.0_Migration_Guide/guide.html" and specifically the relevant change is: · TemplateParameterSubstitution::actual[1..*]->[1] · TemplateParameterSubstitution::ownedActual[0..*]->[0..1] If a UML 2.1 model with Template Parameter Substitution whose actual field has more than one element is migrated to UML 2.2 the value of the "actual" and "ownedActual" fields is not migrated correctly and there is consequently a data loss. Only one of the values from the collection (in 2.1) is picked (looks like the last one) and preserved in the now scalar field. That is reasonable as the multiplicity changed. However, in cases like this the migration process (the resource handler) applies the "UML" profile to the model and applies a specialized stereotype to the affected element. That stereotype then has a property which preserves data that would otherwise be lost. In case of Template Parameter Substitution migration there is no specialized stereotype and there is no way to recover the previous value.
This looks like an oversight when the migration to UML 2.2 was done. :(
Hi Kenn, what does the keyword 'helpwanted' indicate? This defect is a candidate for Helios SR1 right? I imagine you are expecting a patch with the fix. Assuming we get one, are you or James available to review and create a SR1 over the summer?
(In reply to comment #2) > Hi Kenn, what does the keyword 'helpwanted' indicate? This defect is a > candidate for Helios SR1 right? It indicates that none of the committers currently has the bandwidth to implement a fix, so we're looking for help from the community (e.g., you). > > I imagine you are expecting a patch with the fix. Assuming we get one, are you > or James available to review and create a SR1 over the summer? Yes.