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: | |
---|---|---|---|
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:1 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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 , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
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.
Fixed in commit: https://github.com/geonetwork/schema-plugins/commit/040570f4279ee292b0400424144fd9dd418cc5ff