You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
keywords appears as doubled or even tripled when declared in a multilingual tag
To Reproduce
**GN 4.0.1, import record, via UI copy&paste this XML with apply XSLT ISO19139-to-115-2018: <?xml version="1.0" encoding="UTF-8"?> <gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gcol="http://www.isotc211.org/2005/gco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> <gmd:fileIdentifier> <gcol:CharacterString>testtest</gcol:CharacterString> </gmd:fileIdentifier> <gmd:identificationInfo> <gmd:MD_DataIdentification> <gmd:descriptiveKeywords> <gmd:MD_Keywords> <gmd:keyword xsi:type="gmd:PT_FreeText_PropertyType"> <gcol:CharacterString>AirTemp KW1</gcol:CharacterString> <gmd:PT_FreeText> <gmd:textGroup> <gmd:LocalisedCharacterString locale="#locale-eng">Air Temperature Sensor Height at level 1</gmd:LocalisedCharacterString> </gmd:textGroup> </gmd:PT_FreeText> </gmd:keyword> <gmd:thesaurusName> <gmd:CI_Citation> <gmd:title> <gcol:CharacterString>Variables</gcol:CharacterString> </gmd:title> </gmd:CI_Citation> </gmd:thesaurusName> </gmd:MD_Keywords> </gmd:descriptiveKeywords> </gmd:MD_DataIdentification> </gmd:identificationInfo> </gmd:MD_Metadata>
This is displayed on the view record page :
Expected behavior
Only one keyword should appear on the view record page, instead of three. either the "AirTemp KW1" (the title) or the one matching my language, "Air Temperature ...".
Additional context
if I remove the CI_Citation, one of the three disappears, and I get "only" two keywords: AirTemp KW1 and Air Temperature...
if I use a very simple structure MD_Keywords->keyword->Anchor it works fine
I am aware the XML posted above isn't quite compliant with any standard, by far. It happens also with more complete records, but the structure around those parts is the same, even if they are not fully compliant neither.
The text was updated successfully, but these errors were encountered:
Describe the bug
keywords appears as doubled or even tripled when declared in a multilingual tag
To Reproduce
**GN 4.0.1, import record, via UI copy&paste this XML with apply XSLT ISO19139-to-115-2018:
<?xml version="1.0" encoding="UTF-8"?> <gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gcol="http://www.isotc211.org/2005/gco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> <gmd:fileIdentifier> <gcol:CharacterString>testtest</gcol:CharacterString> </gmd:fileIdentifier> <gmd:identificationInfo> <gmd:MD_DataIdentification> <gmd:descriptiveKeywords> <gmd:MD_Keywords> <gmd:keyword xsi:type="gmd:PT_FreeText_PropertyType"> <gcol:CharacterString>AirTemp KW1</gcol:CharacterString> <gmd:PT_FreeText> <gmd:textGroup> <gmd:LocalisedCharacterString locale="#locale-eng">Air Temperature Sensor Height at level 1</gmd:LocalisedCharacterString> </gmd:textGroup> </gmd:PT_FreeText> </gmd:keyword> <gmd:thesaurusName> <gmd:CI_Citation> <gmd:title> <gcol:CharacterString>Variables</gcol:CharacterString> </gmd:title> </gmd:CI_Citation> </gmd:thesaurusName> </gmd:MD_Keywords> </gmd:descriptiveKeywords> </gmd:MD_DataIdentification> </gmd:identificationInfo> </gmd:MD_Metadata>
This is displayed on the view record page :
Expected behavior
Only one keyword should appear on the view record page, instead of three. either the "AirTemp KW1" (the title) or the one matching my language, "Air Temperature ...".
Additional context
MD_Keywords->keyword->Anchor
it works fineI am aware the XML posted above isn't quite compliant with any standard, by far. It happens also with more complete records, but the structure around those parts is the same, even if they are not fully compliant neither.
The text was updated successfully, but these errors were encountered: