#697: EXTJS 'Actions' drop down broken with ?id=x or uuid=x
---------------------+------------------------------------------------------
Reporter: jsewell | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Keywords: |
---------------------+------------------------------------------------------
When using the EXTJS GUI view component like so:
'' http://localhost:8080/geonetwork/apps/search/index_debug.html?id=1’’
or
'' http://localhost:8080/geonetwork/apps/search/index_debug.html?uuid
=28bd59ee-51fa-407c-b7df-2f9e27204f2c''
none of the actions under the 'Actions' drop down work with error:
'' Uncaught TypeError: Cannot call method 'get' of undefined,
MetadataMenu.js 84''
This seems to be a problem with the catalogue.metadataStore not being
populated.
A fix in App.js seems to be inserting the calls to metadataShow and
metadataShowById into the onSuccess of a search like so:
'' catalogue.search('searchForm', function()
{catalogue.metadataShowById(urlParameters.id, true);}, null, 1, true);''
The only downside of this is you see the search panel before the view
panel is drawn on the top.
Please see:
http://sourceforge.net/mailarchive/forum.php?thread_name=CB506E813C77E9498F043F1F951BB27601244A5420C8%40optimus.ms.a2end.com&forum_name
=geonetwork-devel
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/697>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/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.