Opened 15 years ago

Last modified 14 years ago

#169 new enhancement

GAST import enhancement

Reported by: lpinner Owned by: geonetwork-devel@…
Priority: minor Milestone: Future release
Component: GAST Version:
Keywords: Cc:

Description

It would be nice if the GAST bulk MEF import could be extended to have the same functionality as the Admin web import, i.e:

Import actions:
* No action on import
* Overwrite metadata with same UUID
* Generate UUID for inserted metadata

Currently the GAST import just falls over with unique constraint violation (uuid) when a metadata record already exists.

A secondary enhancement: after an error during GAST import, skip the mef file that caused the error and continue to the next mef file instead of the import process falling over completely.

Change History (2)

comment:1 by ticheler, 14 years ago

Milestone: Future release

comment:2 by lpinner, 14 years ago

Thanks, I'd forgotten about this ticket.

If anyone's looking for a batch MEF uploader until this functionality is included in GAST, there's a python script at http://code.google.com/p/metageta/source/browse/tools/batchuploadmef.py that we use as a workaround. It's not polished or pretty, but it does the job for us.

Note: See TracTickets for help on using tickets.