Bug 1179623

Summary: No alert when closing editors with unsaved changes
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, lpetrovi
Target Milestone: ER5   
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: 2020-03-27 20:07:33 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:
Embargoed:

Description Zuzana Krejčová 2015-01-07 08:52:25 UTC
Description of problem:
Certain editors don't display the alert ("Are you sure you want to discard unsaved data?") when you try to close them and still have some unsaved changes.
Editors affected by this:
  External imports
  default text editor (pom.xml, package-names-white-list, kmodule.xml, kie-deployment-descriptor.xml)
  Globals Definitions
  Guided Score Cards


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


Steps to Reproduce:
1. Open one of the editors.
2. Make a change. (Don't save.)
3. Close the editor.


Actual results:
No alert.


Expected results:
Alert asking for confirmation ("Are you sure you want to discard unsaved data?").


Additional info:
For the External imports editor, this also affects the Project Editor. When a change is made in the Imports section of it and a build requested, the editor does not ask whether to save the changes.