Ticket #109 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

GAST export and FileID with value <> UUID

Reported by: ticheler Owned by: simonp
Priority: major Milestone: v2.4.0 RC2
Component: GAST Version: v2.4.0 RC1
Keywords: Cc:

Description (last modified by ticheler) (diff)

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)

Change History

Changed 6 years ago by ticheler

  • description modified (diff)

Changed 5 years ago by ticheler

  • owner changed from geonetwork-devel@… to simonp

Changed 5 years ago by simonp

  • status changed from new to closed
  • resolution set to fixed

Fixed in svn revision 4418 - uuids are filtered to remove chars that could cause filesystem conflicts before the mef file is written.

Note: See TracTickets for help on using tickets.