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

Bug 520559

Summary: ErrorDialog occurs when trying to export an empty dot file.
Product: [Tools] GEF Reporter: Tamas Miklossy <miklossy>
Component: GEF DOTAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.0.1 (Oxygen.1) RC1   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
Error Dialog Screenshot none

Description Tamas Miklossy CLA 2017-08-04 07:13:08 EDT
Created attachment 269687 [details]
Error Dialog Screenshot

An error dialog (ErrorDialog.png) occurs every time when the user creates an empty dot file and the Sync Graphviz Export functionality is switch on. 

Therefore, the implementation of the Sync Graphviz Export Handler should be modified that it does not try to export an empty dot file to avoid the unneccessary occurrance of the error dialog.
Comment 1 Tamas Miklossy CLA 2017-08-04 07:19:43 EDT
The following changes are published on the origin/R5_0_0_maintenance and origin/master branches:

[520559] Improve SyncGraphvizExportHandler not to export empty dot file.

- Trying to export an empty dot file leads to an error message.
Introduce proper guard so that the Sync Graphviz Export Handler does not
try to export an input file if it is empty.