[GeoNetwork-devel] Retrieve a template in view mode - Widgets interface

Hi,

In a previous revision of trunk I was able to retrieve template metadata in
the new gui widgets interface the same way that I could retrieve other
metadata. That is with "apps/search/?id=9". This method still works for most
records along as permissions allow, but it no longer will display template
records - even when logged in as admin. Is there some way to change this
behaviour? I am not finding it.

Cheers,
Byron Cochrane
LISAsoft

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Retrieve-a-template-in-view-mode-Widgets-interface-tp4486374p4486374.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Byron, I can reproduce the issue which is related to the changes
made in Revision: 8558 in order to retrieve the metadata info (for the
window title). As a workaround, you can change line 837 in
catalogue.js
metadataUuid: record.get('uuid'),
by
metadataUuid: record ? record.get('uuid') : undefined,

I'll apply the fix later today to trunk.

HTH.

Francois

Le 20 février 2012 02:18, ByronCinNZ <cochranes4@anonymised.com> a écrit :

Hi,

In a previous revision of trunk I was able to retrieve template metadata in
the new gui widgets interface the same way that I could retrieve other
metadata. That is with "apps/search/?id=9". This method still works for most
records along as permissions allow, but it no longer will display template
records - even when logged in as admin. Is there some way to change this
behaviour? I am not finding it.

Cheers,
Byron Cochrane
LISAsoft

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Retrieve-a-template-in-view-mode-Widgets-interface-tp4486374p4486374.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork