Ticket #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) (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)
