[GeoNetwork-devel] [GeoNetwork opensource Developer website] #109: GAST export and FileID with value <> UUID

#109: GAST export and FileID with value <> UUID
----------------------+-----------------------------------------------------
Reporter: ticheler | Owner: geonetwork-devel@lists.sourceforge.net
     Type: defect | Status: new
Priority: major | Milestone: v2.4.0 RC2
Component: GAST | Version: v2.4.0 RC1
Keywords: |
----------------------+-----------------------------------------------------
When doing an export of catalog content using GAST, the export fails and
stops when a metadata is found that has an identifier (FileID) that does
not follow the UUID specification and contains non-standard characters.
For example:

java.io.FileNotFoundException: /Users/ticheler/Desktop/NGR/sdn:cdi-
aggr:ds02/633.mef (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at
org.fao.gast.gui.panels.manag.mefexport.Worker.save(Worker.java:204)
         at
org.fao.gast.gui.panels.manag.mefexport.Worker.executeJob(Worker.java:123)
         at
org.fao.gast.gui.panels.manag.mefexport.Worker.run(Worker.java:80)
         at java.lang.Thread.run(Thread.java:613)

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/109&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.

#109: GAST export and FileID with value <> UUID
-----------------------+----------------------------------------------------
  Reporter: ticheler | Owner: geonetwork-devel@lists.sourceforge.net
      Type: defect | Status: new
  Priority: major | Milestone: v2.4.0 RC2
Component: GAST | Version: v2.4.0 RC1
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Old description:

When doing an export of catalog content using GAST, the export fails and
stops when a metadata is found that has an identifier (FileID) that does
not follow the UUID specification and contains non-standard characters.
For example:

java.io.FileNotFoundException: /Users/ticheler/Desktop/NGR/sdn:cdi-
aggr:ds02/633.mef (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at
org.fao.gast.gui.panels.manag.mefexport.Worker.save(Worker.java:204)
        at
org.fao.gast.gui.panels.manag.mefexport.Worker.executeJob(Worker.java:123)
        at
org.fao.gast.gui.panels.manag.mefexport.Worker.run(Worker.java:80)
        at java.lang.Thread.run(Thread.java:613)

New description:

When doing an export of catalog content using GAST, the export fails and
stops when a metadata is found that has an identifier (FileID) that does
not follow the UUID specification and contains non-standard characters.

The identifier in this case was SDN:CDI-AGGR:DS03/1526 , so the slash is
causing the problem.

For example:

java.io.FileNotFoundException: /Users/ticheler/Desktop/NGR/sdn:cdi-
aggr:ds02/633.mef (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at
org.fao.gast.gui.panels.manag.mefexport.Worker.save(Worker.java:204)
         at
org.fao.gast.gui.panels.manag.mefexport.Worker.executeJob(Worker.java:123)
         at
org.fao.gast.gui.panels.manag.mefexport.Worker.run(Worker.java:80)
         at java.lang.Thread.run(Thread.java:613)

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/109#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.