Community
Participate
Working Groups
Build Identifier: SVN revision 977 If I apply a transformation system that adds a new value to a multi-valued attribute, that value will not be added, even if the corresponding rule is executed. I have already spotted the place and will attach a patch. Reproducible: Always Steps to Reproduce: 1. Import test project 2. Register model/test.henshin Unit MyHenshinTest:mainUnit should, for x:X --a--> y:Y --c--> z:Z1 with z:Z1 --bla--> q2:String on the LHS, add x --c--> z, x --blubbla--> q2 and y --blablubb--> q2 on the RHS. y.blablubb is a one-valued attribute, x.blubbla is a multi-valued attribute. 3. Apply MyHenshinTest:mainUnit to model/test2b.xmi Here, among others, x4:X --a--> y3:Y --c--> z3:Z1 --bla--> "dfgh" Theoretically, this should add x4 --c--> z3, x4 --blubbla--> "dfgh" and y3 --blablub--> "dfgh". Actually, only x4 --c--> z3 and y3 --blablub--> "dfgh" are added.
Created attachment 192531 [details] Test case
Created attachment 192532 [details] Patch Add new attribute values of multi-valued attributes to added value list.
Thanks for the report and patch. Fix applied in SVN revision 981.