Bug 505754 - Export diagram as image in closed project
Summary: Export diagram as image in closed project
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 4.1.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-10-12 03:25 EDT by Julien Dupont CLA
Modified: 2016-10-12 03:54 EDT (History)
1 user (show)

See Also:


Attachments
Use case to reproduce problem (3.09 KB, application/zip)
2016-10-12 03:25 EDT, Julien Dupont CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Dupont CLA 2016-10-12 03:25:07 EDT
Created attachment 264793 [details]
Use case to reproduce problem

The function of Export diagram as image does not work if the exported directory is a closed project in the workspace. This works well if the directory is not a project present in the workspace or a directory in the computer disk.

To reproduce problem:
- Import the 2 projects ProjectWithImageToExport and ProjectToClose
- Close the project named ProjectToClose
- Open root package entities (if you don't have available the viewpoint Design install http://download.eclipse.org/sirius/updates/releases/4.1.0/neon/tests/
- Click on "Export diagram as image" and select ProjectToClose as directory
- An error occurs in Error Log View KO: Resource '/ProjectToClose' is not open.
- If you export the diagram in other directory in computer disk and not present in workspace, works fine! OK
Comment 1 Laurent Fasani CLA 2016-10-12 03:54:59 EDT
this bug is also reproducible in Sirius 3.1.3