[GeoNetwork-users] keyword, places, and langages

Hello list ...

Does anyone met this issue with GN 2.10.2, html5 UI, default langage is set to english

I create a metadata record with two langages ( english and french for instance)
I choose one keyword from a local thesaurus for places
I define one keyword for discipline.

If i only specify the english version of the discipline keyword, GN is working fine at creating the bounding box.

If i specify both translation for the discipline keyword, GN can't create the bounding box from the "place keyword".
I get an XPathException: A sequence of more than one item is not allowed as the first argument of normalizespace() ("my keyword", ...)

Thank for your help

Philippe<http://www.paca.inra.fr/emmah&gt;

Hi,

2014-02-03 17:38 GMT+01:00 Philippe Clastre <
Philippe.Clastre@anonymised.com>:

Hello list ...

Does anyone met this issue with GN 2.10.2, html5 UI, default langage is
set to english

I create a metadata record with two langages ( english and french for
instance)
I choose one keyword from a local thesaurus for places
I define one keyword for discipline.

If i only specify the english version of the discipline keyword, GN is
working fine at creating the bounding box.

If i specify both translation for the discipline keyword, GN can't
create the bounding box from the "place keyword".
I get an XPathException: A sequence of more than one item is not allowed
as the first argument of normalizespace() ("my keyword", ...)

You could get that fix

https://github.com/geonetwork/core-geonetwork/commit/9bdbaff4cd4a7fd414d203b67b4d01c3987aaf19
It'll fix the error and only compute the extent based on the keyword in the
main language of the record.

Francois

Thank for your help

Philippe<http://www.paca.inra.fr/emmah&gt;

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.

http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

I just tried it.
These modifications suppressed the error message. Fine
But the bouding box doesn't appear in the metadata view.
Actually, the map is not shown for this metadata : something is missing somewhere ?

Thanks for your help

Le 25/02/2014 13:22, Francois Prunayre a écrit :

Hi,

2014-02-03 17:38 GMT+01:00 Philippe Clastre <
Philippe.Clastre@anonymised.com>:

Hello list ...

Does anyone met this issue with GN 2.10.2, html5 UI, default langage is
set to english

I create a metadata record with two langages ( english and french for
instance)
I choose one keyword from a local thesaurus for places
I define one keyword for discipline.

If i only specify the english version of the discipline keyword, GN is
working fine at creating the bounding box.

If i specify both translation for the discipline keyword, GN can't
create the bounding box from the "place keyword".
I get an XPathException: A sequence of more than one item is not allowed
as the first argument of normalizespace() ("my keyword", ...)

You could get that fix

https://github.com/geonetwork/core-geonetwork/commit/9bdbaff4cd4a7fd414d203b67b4d01c3987aaf19
It'll fix the error and only compute the extent based on the keyword in the
main language of the record.

Francois

Thank for your help

Philippe<http://www.paca.inra.fr/emmah&gt;

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.

http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Re: Publication profil geonetwork

logo INRA - Science & Impact <http://www.inra.fr/&gt;

*Philippe CLASTRE***

philippe.clastre@anonymised.com <mailto:philippe.clastre@anonymised.com>

*Centre de recherche Provence-Alpes-Côte d'Azur*

*UMR EMMAH
*

Tél. : +33 (0)4 32 72 23 74

Fax : +33 (0)4 32 72 23 62

228 route de l'Aérodrome
Domaine Saint Paul, Site Agroparc

CS 40 509 -- 84914 Avignon Cedex 9

France

wwww.paca.inra.fr/emmah <http://www.paca.inra.fr/emmah&gt;