Bug 573209

Summary: Undoing a representation deletion should not display it as invalid
Product: [Modeling] Sirius Reporter: Steve Monnier <steve.monnier>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: pierre-charles.david
Version: 6.4.2Keywords: triaged
Target Milestone: Next   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Steve Monnier CLA 2021-04-28 06:06:01 EDT
In https://bugs.eclipse.org/bugs/show_bug.cgi?id=573086 the representation validation was moved from an adapter to a post-commit listener and it fixed the issue in Capella because there is a specific label provider that refreshes the representation label in the model explorer view. However, for Sirius this is not enough and should be fixed. Note that even if in the explorer it looks as invalid, it can be opened and renamed correctly. It is just a visual issue.

Step to reproduce:
- Open a modeling project
- Open the aird editor
- Remove an existing representation
- Undo
-> The representation should not appear in gray