Bug 1018970

Summary: Visual SwitchYard editor not closed when file or project deleted
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Brian Fitzpatrick <bfitzpat>
Component: SwitchYard EditorAssignee: Brian Fitzpatrick <bfitzpat>
Status: CLOSED CURRENTRELEASE QA Contact: Matej Melko <mmelko>
Severity: high Docs Contact:
Priority: low    
Version: 6.0.0CC: apodhrad, atangrin, kconner, ldimaggi, rcernich, soa-p-jira, tsedmik
Target Milestone: DR3Keywords: Reopened
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-06 11:56:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Brian Fitzpatrick 2013-10-14 19:55:53 UTC
Description of problem:
When the SwitchYard visual editor is open and the Switchyard.xml file or the entire project is deleted, the editor stays open despite the fact that the underlying file it's editing no longer exists.

Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
1. Open Switchyard file in editor.
2. Delete switchyard file or project in package explorer or resource navigator.

Actual results:
File or project is deleted and the visual editor remains open.

Expected results:
File or project is deleted and visual editor is closed.

Additional info:

Comment 1 Brian Fitzpatrick 2013-10-14 19:56:22 UTC
PR created.

Comment 3 JBoss JIRA Server 2013-10-16 19:19:10 UTC
Rob Cernich <rcernich> made a comment on jira SWITCHYARD-1770

pushed

Comment 4 Tomáš Sedmík 2013-12-16 14:33:10 UTC
If the editor is nested (contains some unsaved changes), editor stays open.

Steps to reproduce:
1. Open SwitchYard file in editor
2. Add a Component
2. Delete SwitchYard project in package explorer or resource navigator

Verified in jbdsis-7.0.0.CR1 (SwitchYard Tool - 1.1.2.v20131213-2033-H428-CI)

Comment 5 JBoss JIRA Server 2013-12-16 16:28:38 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-1770 to Reopened

Comment 7 JBoss JIRA Server 2014-11-04 09:47:50 UTC
Andrej Podhradsky <apodhrad> updated the status of jira SWITCHYARD-1770 to Closed

Comment 9 Andrej Podhradsky 2015-08-05 11:04:13 UTC
This was verified with JBDS 8.0.0.GA with + JBDS-IS 8.0.0.Beta1 and it also works in JBDS 8.1.0.GA + JBDS-IS 8.0.3.CR1 (contains SwitchYard 2.0.1.v20150727-2018-H8-Beta1)

Comment 11 Andrej Podhradsky 2016-01-06 11:56:01 UTC
Fixed and included in the latest release.