Ticket #306 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Editor / opener update error on save action

Reported by: Fxp Owned by: Fxp
Priority: major Milestone: v2.6.0
Component: General Version: v2.6.0
Keywords: Cc:

Description

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 ?

Change History

Changed 3 years ago by Fxp

  • owner changed from geonetwork-devel@… to Fxp

Changed 3 years ago by Fxp

  • status changed from new to closed
  • resolution set to fixed

r6577

Note: See TracTickets for help on using tickets.