[GeoNetwork-devel] Wrong title in italian version.

Hi devs,

I’m try-ing the 2.10 version of GN.

I notice that when in italian language.

The titles in frame parenti/child are wrongly traslate to UUID instead of to titles.

The wrong is only in Italian launguage.
In every other languages is correcting reporting the titles.

I attach 2 images: one from italian and another from english to show the differents.

Regards,

Andrea Peri
. . . . . . . . .
qwerty àèìòù

(attachments)

english_language.gif
italy_language.gif

Hi Andrea,

I can't manage to replicate your problem on version 2.10.1.
Anyway I see that your metadata seem to have some errors, especially in the
namespace definition (e.g. see line
   xmlns:gml="http://www.opengis.net/gml http://www.isotc211.org/2005/gml/"
in http://www502.regione.toscana.it/geocat/srv/ita/xml_iso19139?id=120 )
You may want to fix these errors and run a Lucene reindex and then look if the
problem is still there.
You should also look at the log file for errors like "Failed to get index field
value caused by ...",

   Cheers,
   Emanuele

Alle 16:09:55 di Tuesday 30 July 2013, Andrea Peri ha scritto:

Hi devs,

I'm try-ing the 2.10 version of GN.

I notice that when in italian language.
The titles in frame parenti/child are wrongly traslate to UUID instead of
to titles.

The wrong is only in Italian launguage.
In every other languages is correcting reporting the titles.

I attach 2 images: one from italian and another from english to show the
differents.

Regards,

--

Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 380 2116282

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Hi Emanuele,

thx for bug reporting.

However I guess still there is a bug in GeoNetwork

Infact.

If I change from english to francais or to deutch or other language ,
it always show correctly the titles.

Only when I change to italian it show the uuid.

But the namespace error is the same for all the languages.

So I guess it is another kind of problem rather than the namespace error.

Andrea.

···

2013/10/17 Emanuele Tajariol <etj@anonymised.com>

Hi Andrea,

I can’t manage to replicate your problem on version 2.10.1.
Anyway I see that your metadata seem to have some errors, especially in the
namespace definition (e.g. see line
xmlns:gml=“http://www.opengis.net/gml http://www.isotc211.org/2005/gml/
in http://www502.regione.toscana.it/geocat/srv/ita/xml_iso19139?id=120 )
You may want to fix these errors and run a Lucene reindex and then look if the
problem is still there.
You should also look at the log file for errors like “Failed to get index field
value caused by …”,

Cheers,
Emanuele

Alle 16:09:55 di Tuesday 30 July 2013, Andrea Peri ha scritto:

Hi devs,

I’m try-ing the 2.10 version of GN.

I notice that when in italian language.
The titles in frame parenti/child are wrongly traslate to UUID instead of
to titles.

The wrong is only in Italian launguage.
In every other languages is correcting reporting the titles.

I attach 2 images: one from italian and another from english to show the
differents.

Regards,

==
Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 380 2116282

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Andrea Peri
. . . . . . . . .
qwerty àèìòù

Hi, emanuele

more information.

I try to create a new two metadata directly on geonetwork using the preferred template for iso19139 (vecotr)

and after this I link to each other using the parent identifie of one of them.

I create the two metadata in english languege after all this I change to italian language and again I see the title subsittute from the uuid.
so defiitively I guess that the problem is not related to the namespace error.

thx for your suggests.

···

2013/10/17 Andrea Peri <aperi2007@anonymised.com…>

Hi Emanuele,

thx for bug reporting.

However I guess still there is a bug in GeoNetwork

Infact.

If I change from english to francais or to deutch or other language ,
it always show correctly the titles.

Only when I change to italian it show the uuid.

But the namespace error is the same for all the languages.

So I guess it is another kind of problem rather than the namespace error.

Andrea.

Andrea Peri
. . . . . . . . .
qwerty àèìòù

2013/10/17 Emanuele Tajariol <etj@anonymised.com>

Hi Andrea,

I can’t manage to replicate your problem on version 2.10.1.
Anyway I see that your metadata seem to have some errors, especially in the
namespace definition (e.g. see line
xmlns:gml=“http://www.opengis.net/gml http://www.isotc211.org/2005/gml/
in http://www502.regione.toscana.it/geocat/srv/ita/xml_iso19139?id=120 )
You may want to fix these errors and run a Lucene reindex and then look if the
problem is still there.
You should also look at the log file for errors like “Failed to get index field
value caused by …”,

Cheers,
Emanuele

Alle 16:09:55 di Tuesday 30 July 2013, Andrea Peri ha scritto:

Hi devs,

I’m try-ing the 2.10 version of GN.

I notice that when in italian language.
The titles in frame parenti/child are wrongly traslate to UUID instead of
to titles.

The wrong is only in Italian launguage.
In every other languages is correcting reporting the titles.

I attach 2 images: one from italian and another from english to show the
differents.

Regards,

==
Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 380 2116282

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Andrea Peri
. . . . . . . . .
qwerty àèìòù

Hi Andrea,

The problem is that 20 of your metadata contains "ITA" in some language fields,
while the ISO639-2 dictates lowercase codes.

GeoNetwork is not enforcing the code case, so it will create Lucene indexes
for both "ita" and "ITA" languages, and they will conflict inside GN, throwing
internal errors and, eventually, not binding your UUID to the metadata title.

Try replacing the "ITA" lang code with "ita" and rebuild the Lucene index.

On GeoNetwork side probably it would be nice to enforce the language case.

   Cheers,
   Emanuele

Alle 20:53:59 di Thursday 17 October 2013, Andrea Peri ha scritto:

Hi, emanuele

more information.

I try to create a new two metadata directly on geonetwork using the
preferred template for iso19139 (vecotr)
and after this I link to each other using the parent identifie of one of
them.

I create the two metadata in english languege after all this I change to
italian language and again I see the title subsittute from the uuid.
so defiitively I guess that the problem is not related to the namespace
error.

thx for your suggests.

2013/10/17 Andrea Peri <aperi2007@anonymised.com>

> Hi Emanuele,
>
> thx for bug reporting.
>
> However I guess still there is a bug in GeoNetwork
>
> Infact.
>
> If I change from english to francais or to deutch or other language ,
> it always show correctly the titles.
>
> Only when I change to italian it show the uuid.
>
> But the namespace error is the same for all the languages.
> So I guess it is another kind of problem rather than the namespace error.
>
> Andrea.
>
>
>
> 2013/10/17 Emanuele Tajariol <etj@anonymised.com>
>
>> Hi Andrea,
>>
>> I can't manage to replicate your problem on version 2.10.1.
>> Anyway I see that your metadata seem to have some errors, especially in
>> the
>> namespace definition (e.g. see line
>>
>> xmlns:gml="http://www.opengis.net/gml
>>
>> http://www.isotc211.org/2005/gml/&quot;
>> in http://www502.regione.toscana.it/geocat/srv/ita/xml_iso19139?id=120 )
>> You may want to fix these errors and run a Lucene reindex and then look
>> if the
>> problem is still there.
>> You should also look at the log file for errors like "Failed to get
>> index field
>> value caused by ...",
>>
>> Cheers,
>> Emanuele
>>
>> Alle 16:09:55 di Tuesday 30 July 2013, Andrea Peri ha scritto:
>> > Hi devs,
>> >
>> > I'm try-ing the 2.10 version of GN.
>> >
>> > I notice that when in italian language.
>> > The titles in frame parenti/child are wrongly traslate to UUID instead
>>
>> of
>>
>> > to titles.
>> >
>> > The wrong is only in Italian launguage.
>> > In every other languages is correcting reporting the titles.
>> >
>> > I attach 2 images: one from italian and another from english to show
>> > the differents.
>> >
>> > Regards,
>>
>> --

--

Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 380 2116282

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Hi Emanuele,

You have right !

Some of other oldest metadata have the “ITA” value instead of “ita”.

I remember it. It was an old bug in our internal metadata software that we correct more time ago, but probably we forgot to change these metadata.

Also I notice that the ITA will alter the representation because the report lost the “language” element.

I will correct these metadata and retry.

Thx you very much,

Andrea.

···

2013/10/17 Emanuele Tajariol <etj@anonymised.com>

Hi Andrea,

The problem is that 20 of your metadata contains “ITA” in some language fields,
while the ISO639-2 dictates lowercase codes.

GeoNetwork is not enforcing the code case, so it will create Lucene indexes
for both “ita” and “ITA” languages, and they will conflict inside GN, throwing
internal errors and, eventually, not binding your UUID to the metadata title.

Try replacing the “ITA” lang code with “ita” and rebuild the Lucene index.

On GeoNetwork side probably it would be nice to enforce the language case.

Cheers,
Emanuele

Alle 20:53:59 di Thursday 17 October 2013, Andrea Peri ha scritto:

Hi, emanuele

more information.

I try to create a new two metadata directly on geonetwork using the
preferred template for iso19139 (vecotr)
and after this I link to each other using the parent identifie of one of
them.

I create the two metadata in english languege after all this I change to
italian language and again I see the title subsittute from the uuid.
so defiitively I guess that the problem is not related to the namespace
error.

thx for your suggests.

2013/10/17 Andrea Peri <aperi2007@anonymised.com>

Hi Emanuele,

thx for bug reporting.

However I guess still there is a bug in GeoNetwork

Infact.

If I change from english to francais or to deutch or other language ,
it always show correctly the titles.

Only when I change to italian it show the uuid.

But the namespace error is the same for all the languages.
So I guess it is another kind of problem rather than the namespace error.

Andrea.

2013/10/17 Emanuele Tajariol <etj@anonymised.com>

Hi Andrea,

I can’t manage to replicate your problem on version 2.10.1.
Anyway I see that your metadata seem to have some errors, especially in
the
namespace definition (e.g. see line

xmlns:gml="http://www.opengis.net/gml

http://www.isotc211.org/2005/gml/"
in http://www502.regione.toscana.it/geocat/srv/ita/xml_iso19139?id=120 )
You may want to fix these errors and run a Lucene reindex and then look
if the
problem is still there.
You should also look at the log file for errors like “Failed to get
index field
value caused by …”,

Cheers,
Emanuele

Alle 16:09:55 di Tuesday 30 July 2013, Andrea Peri ha scritto:

Hi devs,

I’m try-ing the 2.10 version of GN.

I notice that when in italian language.
The titles in frame parenti/child are wrongly traslate to UUID instead

of

to titles.

The wrong is only in Italian launguage.
In every other languages is correcting reporting the titles.

I attach 2 images: one from italian and another from english to show
the differents.

Regards,

Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 380 2116282

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Andrea Peri
. . . . . . . . .
qwerty àèìòù