[GeoNetwork-devel] [GeoNetwork opensource Developer website] #957: gmd:PT_Locale@anonymised.com changed without changing gmd:LocalisedCharacterString@anonymised.com

#957: gmd:PT_Locale@...666... changed without changing
gmd:LocalisedCharacterString@...864...
-----------------------+----------------------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: General | Version:
Keywords: |
-----------------------+----------------------------------------------------
Some of the iso19139 schema there is a file called update-fixed-info.xsl
which contains code to

{{{
    <!-- Set local identifier to the first 2 letters of iso code. Locale
ids
          are used for multilingual charcterString using #iso2code for
referencing.
    -->
}}}

The problem is that it sets the gmd:PT_Locale code but does not make any
changes to the gmd:LocalisedCharacterString@...864... causing them to get out
of sync.

It works fine if the document that were created via the web interface. In
our case we are importing documents from another source and they are using
a lower case id (i.e."eng") and it is getting converted to "ENG" in the
PT_Locale but nowhere else.

I would have expected that it would also changed all the #eng to #ENG

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/957&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#957: gmd:PT_Locale@...666... changed without changing
gmd:LocalisedCharacterString@...864...
-----------------------+----------------------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: General | Version:
Keywords: |
-----------------------+----------------------------------------------------

Comment(by ianwallen):

I have added a patch - It needs to be tested as well as possibly applied
to the other schema plugins.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/957#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#957: gmd:PT_Locale@...666... changed without changing
gmd:LocalisedCharacterString@...864...
------------------------+---------------------------------------------------
  Reporter: ianwallen | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0
Component: General | Version:
Resolution: fixed | Keywords:
------------------------+---------------------------------------------------
Changes (by jesseeichar):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed when merging pull request: https://github.com/geonetwork/core-
geonetwork/pull/7

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/957#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.