[GeoNetwork-users] Display of INSPIRE categories on homepage

Hi,

In my instance of Geonetwork 3.4.x there's a difference between the way
that topic categories are displayed, and INSPIRE categories. The topic
categories have an icon and title, whereas INSPIRE categories only have an
icon. I would like the INSPIRE categories to have a title as well as an
icon- I have this in Geonetwork 3.2.x.

I've been following through the code in
https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web-ui/src/main/resources/catalog/views/default/templates/home.html
and I can't see any obvious difference between the way that the two
displays are configured, but when I inspect the INSPIRE element in google
chrome, the title is blank.

I understand that the facet configuration comes from
https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/WEB-INF/config-summary.xml,
and as far as I can tell that is set up correctly.

Am I missing something? Is there a problem with my index? I have tried
reindexing.

Thanks

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

I got similar stuff, but the problem for me was that the inspire themes
thesaurus was not installed in my GeoNetwork. I installed from
https://raw.githubusercontent.com/geonetwork/util-gemet/master/thesauri/inspire-theme.rdf
and reindexed the catalogue and labels are displayed for me.

Please check if this can be your case.

Regards,
Jose García

On Wed, Mar 14, 2018 at 5:21 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi,

In my instance of Geonetwork 3.4.x there's a difference between the way
that topic categories are displayed, and INSPIRE categories. The topic
categories have an icon and title, whereas INSPIRE categories only have an
icon. I would like the INSPIRE categories to have a title as well as an
icon- I have this in Geonetwork 3.2.x.

I've been following through the code in
https://github.com/geonetwork/core-geonetwork/blob/3.4.x/
web-ui/src/main/resources/catalog/views/default/templates/home.html
and I can't see any obvious difference between the way that the two
displays are configured, but when I inspect the INSPIRE element in google
chrome, the title is blank.

I understand that the facet configuration comes from
https://github.com/geonetwork/core-geonetwork/blob/develop/
web/src/main/webapp/WEB-INF/config-summary.xml,
and as far as I can tell that is set up correctly.

Am I missing something? Is there a problem with my index? I have tried
reindexing.

Thanks

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Hi Jose,

I'd already checked that and have definitely got it installed, and have
definitely reindexed. The INSPIRE themes show up correctly in the search
page, by title rather than by URI. I've also cleared the cache and opened
in a new incognito window just to be sure.

Thanks

Jo

On Wed, Mar 14, 2018 at 4:36 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Jo

I got similar stuff, but the problem for me was that the inspire themes
thesaurus was not installed in my GeoNetwork. I installed from
https://raw.githubusercontent.com/geonetwork/util-gemet/master/
thesauri/inspire-theme.rdf and reindexed the catalogue and labels are
displayed for me.

Please check if this can be your case.

Regards,
Jose García

On Wed, Mar 14, 2018 at 5:21 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi,

In my instance of Geonetwork 3.4.x there's a difference between the way
that topic categories are displayed, and INSPIRE categories. The topic
categories have an icon and title, whereas INSPIRE categories only have an
icon. I would like the INSPIRE categories to have a title as well as an
icon- I have this in Geonetwork 3.2.x.

I've been following through the code in
https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web
-ui/src/main/resources/catalog/views/default/templates/home.html
and I can't see any obvious difference between the way that the two
displays are configured, but when I inspect the INSPIRE element in google
chrome, the title is blank.

I understand that the facet configuration comes from
https://github.com/geonetwork/core-geonetwork/blob/develop/w
eb/src/main/webapp/WEB-INF/config-summary.xml,
and as far as I can tell that is set up correctly.

Am I missing something? Is there a problem with my index? I have tried
reindexing.

Thanks

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
<https://maps.google.com/?q=17+West+Street,+Epsom,+Surrey,+KT18&entry=gmail&source=g&gt;
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
<https://maps.google.com/?q=120+Manor+Green+Road,+Epsom,+Surrey,+KT19+8LN&entry=gmail&source=g&gt;
VAT no.
864201149.
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/project
s/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 13
<https://maps.google.com/?q=Veenderweg+13+6721+WD+Bennekom+The+Netherlands&entry=gmail&source=g&gt;6721
WD Bennekom
<https://maps.google.com/?q=Veenderweg+13+6721+WD+Bennekom+The+Netherlands&entry=gmail&source=g&gt;The
Netherlands
<https://maps.google.com/?q=Veenderweg+13+6721+WD+Bennekom+The+Netherlands&entry=gmail&source=g&gt;T: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jose,

I'm still seeing this as a problem, in both Geonetwork 3.2 (3.2.2-67-dirty)
and 3.4 (3.4.1-177-dirty). In both cases I have the correct INSPIRE Themes
Thesaurus, the Search tab correctly shows the INSPIRE label rather than the
URL, I've reindexed the records, cleared the cache etc but the front page
still shows just the icon and not the label. It's working fine in 3.0.5
with the same thesaurus. In the log file for 3.2 I am seeing error messages
like:

2018-04-24 09:29:37,771 ERROR [geonetwork.thesaurus] - Term not found:
http://rdfdata.eionet.europa.eu/inspirethemes/themes/3

I've checked that this entry is definitely present in the thesaurus.

Thanks

Jo

On Wed, Mar 14, 2018 at 5:09 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

I'd already checked that and have definitely got it installed, and have
definitely reindexed. The INSPIRE themes show up correctly in the search
page, by title rather than by URI. I've also cleared the cache and opened
in a new incognito window just to be sure.

Thanks

Jo

On Wed, Mar 14, 2018 at 4:36 PM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi Jo

I got similar stuff, but the problem for me was that the inspire themes
thesaurus was not installed in my GeoNetwork. I installed from
https://raw.githubusercontent.com/geonetwork/util-
gemet/master/thesauri/inspire-theme.rdf and reindexed the catalogue and
labels are displayed for me.

Please check if this can be your case.

Regards,
Jose García

On Wed, Mar 14, 2018 at 5:21 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi,

In my instance of Geonetwork 3.4.x there's a difference between the way
that topic categories are displayed, and INSPIRE categories. The topic
categories have an icon and title, whereas INSPIRE categories only have
an
icon. I would like the INSPIRE categories to have a title as well as an
icon- I have this in Geonetwork 3.2.x.

I've been following through the code in
https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web
-ui/src/main/resources/catalog/views/default/templates/home.html
and I can't see any obvious difference between the way that the two
displays are configured, but when I inspect the INSPIRE element in google
chrome, the title is blank.

I understand that the facet configuration comes from
https://github.com/geonetwork/core-geonetwork/blob/develop/w
eb/src/main/webapp/WEB-INF/config-summary.xml,
and as far as I can tell that is set up correctly.

Am I missing something? Is there a problem with my index? I have tried
reindexing.

Thanks

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or
phone
our office on 01372 744009

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
<https://maps.google.com/?q=17+West+Street,+Epsom,+Surrey,+KT18&entry=gmail&source=g&gt;
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
<https://maps.google.com/?q=120+Manor+Green+Road,+Epsom,+Surrey,+KT19+8LN&entry=gmail&source=g&gt;
VAT no.
864201149.
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/project
s/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 13
<https://maps.google.com/?q=Veenderweg+13+6721+WD+Bennekom+The+Netherlands&entry=gmail&source=g&gt;6721
WD Bennekom
<https://maps.google.com/?q=Veenderweg+13+6721+WD+Bennekom+The+Netherlands&entry=gmail&source=g&gt;The
Netherlands
<https://maps.google.com/?q=Veenderweg+13+6721+WD+Bennekom+The+Netherlands&entry=gmail&source=g&gt;T: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 1372 744 009 w: astuntechnology.com
<http://astuntechnology.com/&gt; twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic
intelligence platform <https://astuntechnology.com/ishare/&gt;
GeoServer,
PostGIS and QGIS training <https://astuntechnology.com/services/#training&gt;

Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration
no. 5410695. Registered in England and Wales. Registered office: 120 Manor
Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.

On 4/24/18 12:15 PM, Jo Cook wrote:

Hi Jose,

I'm still seeing this as a problem, in both Geonetwork 3.2 (3.2.2-67-dirty)
and 3.4 (3.4.1-177-dirty). In both cases I have the correct INSPIRE Themes
Thesaurus, the Search tab correctly shows the INSPIRE label rather than the
URL, I've reindexed the records, cleared the cache etc but the front page
still shows just the icon and not the label. It's working fine in 3.0.5
with the same thesaurus. In the log file for 3.2 I am seeing error messages
like:

2018-04-24 09:29:37,771 ERROR [geonetwork.thesaurus] - Term not found:
http://rdfdata.eionet.europa.eu/inspirethemes/themes/3

I've checked that this entry is definitely present in the thesaurus.

Fwiw, using 3.4.1 we're several in the georchestra community to experience the same issue, and digging in the code i havent been able to figure out where it was coming from.

The /q service populating search results returns json without @label attribute for the inspireThemes section, which seems to be the reason no text is displayed:

inspireThemes […]
0 {…}
@count 2
@name Administrative units
1 {…}
@count 8
@name Adresses

if you set geonetwork.thesaurus logging to DEBUG you have a single more line for earch 'Term not found' ERROR:

2018-09-27 15:46:33,070 DEBUG [geonetwork.thesaurus] - Query : SELECT DISTINCT id,uppc,lowc,eng_prefLabel,eng_note FROM {id} rdf:type {skos:Concept},[{id} gml:BoundedBy {} gml:upperCorner {uppc}],[{id} gml:BoundedBy {} gml:lowerCorner {lowc}],[{id} skos:prefLabel {eng_prefLabel} WHERE lang(eng_prefLabel) LIKE "en" IGNORE CASE],[{id} skos:scopeNote {eng_note} WHERE lang(eng_note) LIKE "en" IGNORE CASE] WHERE id LIKE "http://rdfdata.eionet.europa.eu/inspirethemes/themes/21&quot; USING NAMESPACE skos=<http://www.w3.org/2004/02/skos/core#&gt;,gml=&lt;http://www.opengis.net/gml#&gt;
2018-09-27 15:46:33,072 ERROR [geonetwork.thesaurus] - Term not found: http://rdfdata.eionet.europa.eu/inspirethemes/themes/21

That seems to be some sql/xpath-like queries (syntax coming from https://github.com/geonetwork/core-geonetwork/blob/master/core/src/main/java/org/fao/geonet/kernel/rdf/Selectors.java#L37 ?) in the thesaurus that fails to resolve the keyword id, but we're all using the same inspire-theme.rdf source it seems....

Landry

On 9/27/18 4:05 PM, Landry Breuil wrote:

On 4/24/18 12:15 PM, Jo Cook wrote:

Hi Jose,

I'm still seeing this as a problem, in both Geonetwork 3.2 (3.2.2-67-dirty)
and 3.4 (3.4.1-177-dirty). In both cases I have the correct INSPIRE Themes
Thesaurus, the Search tab correctly shows the INSPIRE label rather than the
URL, I've reindexed the records, cleared the cache etc but the front page
still shows just the icon and not the label. It's working fine in 3.0.5
with the same thesaurus. In the log file for 3.2 I am seeing error messages
like:

2018-04-24 09:29:37,771 ERROR [geonetwork.thesaurus] - Term not found:
http://rdfdata.eionet.europa.eu/inspirethemes/themes/3

I've checked that this entry is definitely present in the thesaurus.

Fwiw, using 3.4.1 we're several in the georchestra community to experience the same issue, and digging in the code i havent been able to figure out where it was coming from.

The /q service populating search results returns json without @label attribute for the inspireThemes section, which seems to be the reason no text is displayed:

inspireThemes […]
0 {…}
@count 2
@name Administrative units
1 {…}
@count 8
@name Adresses

if you set geonetwork.thesaurus logging to DEBUG you have a single more line for earch 'Term not found' ERROR:

2018-09-27 15:46:33,070 DEBUG [geonetwork.thesaurus] - Query : SELECT DISTINCT id,uppc,lowc,eng_prefLabel,eng_note FROM {id} rdf:type {skos:Concept},[{id} gml:BoundedBy {} gml:upperCorner {uppc}],[{id} gml:BoundedBy {} gml:lowerCorner {lowc}],[{id} skos:prefLabel {eng_prefLabel} WHERE lang(eng_prefLabel) LIKE "en" IGNORE CASE],[{id} skos:scopeNote {eng_note} WHERE lang(eng_note) LIKE "en" IGNORE CASE] WHERE id LIKE "http://rdfdata.eionet.europa.eu/inspirethemes/themes/21&quot; USING NAMESPACE skos=<http://www.w3.org/2004/02/skos/core#&gt;,gml=&lt;http://www.opengis.net/gml#&gt;

2018-09-27 15:46:33,072 ERROR [geonetwork.thesaurus] - Term not found: http://rdfdata.eionet.europa.eu/inspirethemes/themes/21

That seems to be some sql/xpath-like queries (syntax coming from https://github.com/geonetwork/core-geonetwork/blob/master/core/src/main/java/org/fao/geonet/kernel/rdf/Selectors.java#L37 ?) in the thesaurus that fails to resolve the keyword id, but we're all using the same inspire-theme.rdf source it seems....

And the strange thing is, if i leave geonetwork.thesaurus on DEBUG and query the thesaurus via the API for the same keyword uri, the same request returns a keyword definition:

/srv/api/0.1/registries/vocabularies/search?lang=en&pLang=eng&thesaurus=external.theme.inspire-theme&uri=http%3A%2F%2Frdfdata.eionet.europa.eu%2Finspirethemes%2Fthemes%2F21

yields the same rdf query in the log:
2018-09-28 09:16:40,099 DEBUG [geonetwork.thesaurus] - Query : SELECT DISTINCT id,uppc,lowc,eng_prefLabel,eng_note FROM {id} rdf:type {skos:Concept},[{id} gml:BoundedBy {} gml:upperCorner {uppc}],[{id} gml:BoundedBy {} gml:lowerCorner {lowc}],[{id} skos:prefLabel {eng_prefLabel} WHERE lang(eng_prefLabel) LIKE "en" IGNORE CASE],[{id} skos:scopeNote {eng_note} WHERE lang(eng_note) LIKE "en" IGNORE CASE] WHERE id LIKE "http://rdfdata.eionet.europa.eu/inspirethemes/themes/21&quot; LIMIT 1000 USING NAMESPACE skos=<http://www.w3.org/2004/02/skos/core#&gt;,gml=&lt;http://www.opengis.net/gml#&gt;

and returns valid info:

[
   {
     "values": {
       "eng": "Production and industrial facilities"
     },
     "definitions": {
       "eng": "Industrial production sites, including installations covered by Council Directive 96/61/EC of 24 September 1996 concerning integrated pollution prevention and control (1) and water abstraction facilities, mining, storage sites."
     },
     "coordEast": "",
     "coordWest": "",
     "coordSouth": "",
     "coordNorth": "",
     "thesaurusKey": "external.theme.inspire-theme",
     "uri": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/21&quot;,
     "definition": "Industrial production sites, including installations covered by Council Directive 96/61/EC of 24 September 1996 concerning integrated pollution prevention and control (1) and water abstraction facilities, mining, storage sites.",
     "value": "Production and industrial facilities"
   }
]

so maybe something in the codepaths between where the query is done and where the 'term is not found' exception bails out on this content. Mixup between iso codes with eng/en ?

--
Landry Breuil
Administrateur de données du CRAIG

----------------------------------------------------------------------------
Centre Régional Auvergne-Rhône-Alpes de l'Information Géographique
Bât. du CRRI - Campus des Cézeaux
7 avenue Blaise Pascal - CS 60026
63178 Aubière

https://www.craig.fr - @GipCraig
----------------------------------------------------------------------------
Support utilisateurs (tous les jours ouvrés de 8H30 à 12H30) : 04 73 405 405

On 9/28/18 9:19 AM, Landry Breuil wrote:

On 9/27/18 4:05 PM, Landry Breuil wrote:

On 4/24/18 12:15 PM, Jo Cook wrote:

Hi Jose,

I'm still seeing this as a problem, in both Geonetwork 3.2 (3.2.2-67-dirty)
and 3.4 (3.4.1-177-dirty). In both cases I have the correct INSPIRE Themes
Thesaurus, the Search tab correctly shows the INSPIRE label rather than the
URL, I've reindexed the records, cleared the cache etc but the front page
still shows just the icon and not the label. It's working fine in 3.0.5
with the same thesaurus. In the log file for 3.2 I am seeing error messages
like:

2018-04-24 09:29:37,771 ERROR [geonetwork.thesaurus] - Term not found:
http://rdfdata.eionet.europa.eu/inspirethemes/themes/3

I've checked that this entry is definitely present in the thesaurus.

Fwiw, using 3.4.1 we're several in the georchestra community to experience the same issue, and digging in the code i havent been able to figure out where it was coming from.

After adding some debug statements (ie printing the exception message in https://github.com/geonetwork/core-geonetwork/blob/master/core/src/main/java/org/fao/geonet/kernel/search/TermUriTranslator.java#L91) i figured out that the keyword lookup happened in the wrong thesaurus...

in my geonetwork datadir, i had inspire-theme.rdf & inspire-service-taxonomy.rdf installed, and both had the same value for the skos:ConceptScheme key (ie http://geonetwork-opensource.org/inspire-theme) - once i had set a different unique URI for inspire-service-taxonomy.rdf and restarted geonetwork, the inspire themes properly display on geonetwork homepage.

Phew, that was a tricky one.
--
Landry Breuil
Administrateur de données du CRAIG