Opened 12 years ago

Closed 12 years ago

#1054 closed defect (fixed)

MCP cannot add gmd:LanguageCode via metadata editor

Reported by: ianwallen Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: User interface (web) Version: v2.8.0RC0
Keywords: Cc:

Description

Attempting to set the metadata language to an gmd:LanguageCode via the metadata editor generates an empty pick list. It is not possible to add the language via the interface.

OS: Windows XP Using todays 2.8 nightly build and latest MCP schema plugin.

Change History (3)

comment:2 by ianwallen, 12 years ago

Resolution: fixed
Status: closedreopened

Simon,

The fix that you supplied seems to correct the issue. But I noticed similar code...

Should the same fix be applied to the metadata-iso19139.mcp-edit.xsl as it seems to have the same issue? I'm just not sure where it is used?

-	<xsl:template mode="iso19139.mcp" match="*[*/@codeList and name(.)!='gmd:country' and name()!='gmd:languageCode']">
+	<xsl:template mode="iso19139.mcp" match="*[*/@codeList and name()!='gmd:country' and name()!='gmd:language']">

comment:3 by simonp, 12 years ago

Resolution: fixed
Status: reopenedclosed

metadata-iso19139.mcp-edit.xsl is used by the new widget editor - still needs some checking out but yes the fix needs to be committed here too - thanks.

Note: See TracTickets for help on using tickets.