Opened 13 years ago
Closed 13 years ago
#697 closed defect (fixed)
EXTJS 'Actions' drop down broken with ?id=x or uuid=x
Reported by: | jsewell | Owned by: | fxp |
---|---|---|---|
Priority: | major | Milestone: | v2.7.0 |
Component: | General | Version: | v2.6.3 |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 13 years ago
Owner: | changed from | to
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed revision 8558.