| Summary: | Removing attributes or methods from diagram doesn't work as expected | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Navid Mehregani <nmehrega> | ||||
| Component: | UI | Assignee: | Project Inbox <tigerstripe.ui-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | chrhartl | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 0.5M0 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Navid Mehregani
I tried this with Enum literals and the third and fourth literals remain ! I'm no longer able to reproduce this issue in the diagrams. Removing methods/attributes works as expected. HOWEVER, doing this from TS Explorer doesn't work as expected. Try the following: Create a new entity with four attributes and four methods > Expand the entity in TS Explorer > Select all attributes/methods > Right click > select delete > Yes. Notice that attributes/methods are not removed as expected. Some are removed, but most of them remain. Created attachment 181784 [details]
patch_320140.txt
Artifacts were being edited once for each method/literal removed, but none of the changes were saved back to the artifact manager until after all were complete, so only the last change would be saved back. Now keeping track of what artifacts have been edited using a map, and if the artifact comes up again will grab it out of the map and edit it further, and still just doing one save back the artifact manager at the end.
Class Changed: TSDeleteAction
Thanks Dan! Patch was reviewed and submitted. Your changes made sense. I guess this was only tested with a single selection in the past. |