Bug 520393 - Representation by category not refreshed after representation target deletion
Summary: Representation by category not refreshed after representation target deletion
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 4.1.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-08-01 04:04 EDT by Laurent Fasani CLA
Modified: 2017-08-02 11:11 EDT (History)
1 user (show)

See Also:


Attachments
EcoreSampleProject.zip (2.84 KB, application/x-zip-compressed)
2017-08-02 11:11 EDT, Laurent Redor CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2017-08-01 04:04:44 EDT

    
Comment 1 Laurent Fasani CLA 2017-08-01 04:12:28 EDT
scenario:
* open a modeling project with a diagram (not on root semantic element)
* expand "Representations by category" so user we can see the representation
* delete diagram target 
=> In the model explorer, in "Representations by category", the representation is not refreshed. The text should be greyed as it is still black.
* close, open the project and expand to the rep => the representation is correctly displayed
Comment 2 Laurent Redor CLA 2017-08-02 11:11:37 EDT
Created attachment 269653 [details]
EcoreSampleProject.zip

Here is more complete steps to reproduce:
* Import project EcoreSampleProject (from EcoreSampleProject.zip)
* In Model Explorer view, expand "representations.aird" to see both p2Diag and rootDiag
* Open rootDiag
* Delete p2 in rootDiag
* KO: In the Model Explorer view, "p2Diag" is not refreshed. The text should be grayed as it is still black.
* 1- Close, open the project and expand to the rep => the representation is correctly displayed
* or 2- Refresh the project => the representation is correctly displayed