[GeoNetwork-devel] [GeoNetwork opensource Developer website] #494: "Cancel" still saves changes

#494: "Cancel" still saves changes
------------------------+---------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.3
Keywords: |
------------------------+---------------------------------------------------
I have a metadata template I'm editing. I go into the "By Package", say
"Indentification", and fiddle around, adding a few items, removing a few
others. I then decide I don't like the changes so I press "cancel". Up
pops a javascript alert asking if I'm sure I want to leave the editor
telling me "you will lose any unsaved changes". I click "Ok", but when
next I look at this template, I see that my changes were indeed saved,
despite definitely not clicking "save" at all.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/494&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#494: "Cancel" still saves changes
------------------------+---------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.3
Keywords: |
------------------------+---------------------------------------------------

Comment(by Anja):

This error exists in GeoNetwork 2.6.4 as well. I could only realize this
bug once after tomcat start. After that it seems as if the the cancel-
button works fine.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/494#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.