#306: Editor / opener update error on save action
---------------------+------------------------------------------------------
Reporter: Fxp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.0
Component: General | Version: v2.6.0
Keywords: |
---------------------+------------------------------------------------------
When saving, editor try to update opener document which in Bluenet case is
the main application (search window) but in trunk is the opener window :
* undefined if user type geonetwork url in a browser
* the opener window if the catalogue is opened from another webpage
The update could trigger JS errors if the opener is not the geonetwork
expected page and does not release the screen.
Error in metadata-editor.js :
{{{
if(opener){divToRestore=opener.document.getElementById(f)
}}}
Should we check that opener contains 'main.home' in url ?
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/306>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
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.