Community
Participate
Working Groups
Build Identifier: Moving attributes from one entity artifact to another in TS explorer doesn't work as expected. Some of the attributes are duplicated. Reproducible: Always Steps to Reproduce: 1. Create a model project 2. Create a class diagram file in your project 3. Create two entity artifacts in class diagram: Entity0 & Entity1 4. Create four attributes under Entity0 5. Using TS Explorer, expand both artifacts 6. Select all attributes under Entity0 and move them to Entity1 Notice that the first attribute is moved as expected. The rest of the attributes are copied across both artifacts. The fix for this defect should also be tested with moving methods in TS Explorer.
Also check that both open and closed diagrams are correctly updated.
I think this is related to / similar to Bug 320140
When moving multiple attributes, TS seems to do a separate build after each attribute is moved - can we do all of the moves as a single transaction with one subsequent build ?
(In reply to comment #3) > When moving multiple attributes, TS seems to do a separate build after each > attribute is moved - can we do all of the moves as a single transaction with > one subsequent build ? Doing batch builds can potentially be quite a bit of work and probably deserves another enhancement of its own :-)
Created attachment 181790 [details] patch_328645.txt Can someone check if both closed/open diagrams are updated with this? It is working on my machine, but I have made some changes towards Bug 327698 . So if it doesn't work then it is related to that bug and not a problem with this bug. Class Changed: ArtifactComponentTransferDropAdapter
Thanks Dan! Yes, this does work for open/closed diagrams. I see that your fix was similar to your changes for resolving delete operation of multiple attributes under an artifact in TS Explorer.