Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 502705

Summary: Export All Diagrams fails unless the model is in the project root directory
Product: [Modeling] Papyrus Reporter: Fred Eckertson <fred.eckertson>
Component: DiagramAssignee: Christian Damus <give.a.damus>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: fred.eckertson, give.a.damus
Version: 2.0.0Flags: give.a.damus: review+
Target Milestone: 3.0.0   
Hardware: All   
OS: Windows 7   
See Also: https://git.eclipse.org/r/82401
https://git.eclipse.org/r/83155
https://git.eclipse.org/r/83165
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=ac8e39ea878007c21911283bc7509a8c2dc834b6
https://git.eclipse.org/r/83397
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=6ed0cea998ac53ce143268ec8175c4a740cfc4aa
Whiteboard:

Description Fred Eckertson CLA 2016-09-29 16:28:53 EDT
This is similar to and related to [https://bugs.eclipse.org/bugs/show_bug.cgi?id=473803]. The final fix for that bug actually makes it impossible to export diagrams if the model is not in the project root directory. The Export All Diagrams dialog displays with a blank directory and an empty formats list. Previously one could browse for a directory as work around, but that no longer works because there are no formats. Unfortunately ExportComposite.loadData skips the step to populate the formats drop down if the output directory is "invalid".
Comment 1 Eclipse Genie CLA 2016-10-03 18:31:27 EDT
New Gerrit change created: https://git.eclipse.org/r/82401
Comment 2 Eclipse Genie CLA 2016-10-13 13:45:51 EDT
New Gerrit change created: https://git.eclipse.org/r/83155
Comment 3 Eclipse Genie CLA 2016-10-13 17:11:58 EDT
New Gerrit change created: https://git.eclipse.org/r/83165
Comment 5 Christian Damus CLA 2016-10-13 20:28:31 EDT
(In reply to Eclipse Genie from comment #4)
> Gerrit change https://git.eclipse.org/r/83165 was merged to [master].

The other two Gerrit changes are obsolete, superseded by this one.
Comment 6 Eclipse Genie CLA 2016-10-17 17:45:14 EDT
New Gerrit change created: https://git.eclipse.org/r/83397
Comment 7 Christian Damus CLA 2016-10-18 16:52:31 EDT
Reopening to fix in Neon.2 also.
Comment 8 Eclipse Genie CLA 2016-10-18 17:12:32 EDT
Gerrit change https://git.eclipse.org/r/83397 was merged to [streams/2.0-maintenance].
Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=6ed0cea998ac53ce143268ec8175c4a740cfc4aa