Bug 1018970 - Visual SwitchYard editor not closed when file or project deleted
Summary: Visual SwitchYard editor not closed when file or project deleted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard Editor
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: DR3
: 6.1.0
Assignee: Brian Fitzpatrick
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-14 19:55 UTC by Brian Fitzpatrick
Modified: 2016-01-06 11:56 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-06 11:56:01 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1770 0 Major Closed Visual editor not closed when project deleted 2016-01-06 11:54:57 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.