Opened 15 years ago

Closed 15 years ago

#109 closed defect (fixed)

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)

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 (3)

comment:1 by ticheler, 15 years ago

Description: modified (diff)

comment:2 by ticheler, 15 years ago

Owner: changed from geonetwork-devel@… to simonp

comment:3 by simonp, 15 years ago

Resolution: fixed
Status: newclosed

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.