| Summary: | DCells are kept when lines are deleted from an edition table. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Yann Mortier <yann.mortier> | ||||||
| Component: | Table | Assignee: | Project Inbox <sirius.table-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Florian Barbin <florian.barbin> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | florian.barbin, maxime.porhel, pierre-charles.david, pierre.guilet | ||||||
| Version: | 3.1.0 | Keywords: | triaged | ||||||
| Target Milestone: | 4.0.0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| See Also: |
https://git.eclipse.org/r/71587 https://git.eclipse.org/r/71588 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a072d2c1484ee82bfb77cdd9ecdb8f92091b125b https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6d7e5a887dadb1a3c9a2f72722d08212d2dec9e7 |
||||||||
| Whiteboard: | backport | ||||||||
| Attachments: |
|
||||||||
|
Description
Yann Mortier
New Gerrit change created: https://git.eclipse.org/r/71587 New Gerrit change created: https://git.eclipse.org/r/71588 Created attachment 261335 [details]
Reproduction case
Steps to reproduce:
. unzip the attached data
. open the 492634 table
. select the "neweclass1 : NewEClass1" reference and look at the EType possible values in the properties view: you should see NewEClass1, NewEClass2 and NewEClass3 (among ecore types)
. delete the line "NewEClass3"
. re-select the "neweclass1 : NewEClass1" reference and check the proposed values for EType in the properties view.
NewEClass3 must not be proposed anymore as it has been deleted (detached/removed from its resources and all semantic references to it have been removed)
Gerrit change https://git.eclipse.org/r/71587 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a072d2c1484ee82bfb77cdd9ecdb8f92091b125b Gerrit change https://git.eclipse.org/r/71588 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6d7e5a887dadb1a3c9a2f72722d08212d2dec9e7 Resolved on master for 4.0.0 RC1 I followed the use case described here https://bugs.eclipse.org/bugs/show_bug.cgi?id=492634#c3 and the NewEClass3 is still available in the EType choices after having deleted it. It is my mistake, I have added a diagram in the reproduction use case. This diagram contains a DNodeList showing the EClass3. As the diagram is closed in the scenario, it is not refreshed and the EClass3 can still be found. This bugzilla is about the DCells kept by the refresh of the current opened table, this does not invalidate the correction. I will update a corrected reproduction case soon. Created attachment 262029 [details]
Corrected test case.
Verified on Sirius 4.0.0.RC2 Available in Sirius 4.0.0. *** Bug 473842 has been marked as a duplicate of this bug. *** |