Bug 573209 - Undoing a representation deletion should not display it as invalid
Summary: Undoing a representation deletion should not display it as invalid
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 6.4.2   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: Next   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-04-28 06:06 EDT by Steve Monnier CLA
Modified: 2021-05-05 09:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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