Hi
I had a similar problem and it turned out I still had custom metadata
hanging around in one my records.
You could dump your metadata out of DSpace and search the exported
metadata to check that all your custom field values have been deleted.
ItemExport is a good tool for exporting from the command line:
/path/to/dspace/bin/dspace dsrun org.dspace.app.itemexport.ItemExport -h
or you can export from the DSpace UI by selecting a collection then
selecting export metadata from the context menu.
There's also a batch editing tool by Stuart Lewis floating around as
well which (I think) allows you to edit metadata from a CSV file.
Cheers
Hayden
On 01/04/11 04:40, Paul Go wrote:
We need to delete the some custom metadata that was created. We
believe that we have deleted all the spots where that metadata was
referenced, yet when attempting to delete the entire schema, this
message is returned:
org.postgresql.util.PSQLException: ERROR: update or delete on
table "metadatafieldregistry" violates foreign key constraint
"metadatavalue_metadata_field_id_fkey" on table "metadatavalue"
Detail: Key (metadata_field_id)=(72) is still referenced from
table "metadatavalue".
How can we delete this entirely?
Thanks!
Paul Go
Systems Librarian /
Library Technology Manager
Paul V. Galvin Library
35 West 33rd Street
Chicago, IL 60616
312.567.7997
p...@iit.edu <mailto:p...@iit.edu>
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6102 1198
m. +61 (0) 405 520 778
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf
NOTICE
This e-mail and any attachments are intended for the addressee(s) only and may
be confidential. They may contain legally privileged or copyright material. You
should not read, copy, use or disclose them without authorization. If you are
not the intended recipient please contact the sender as soon as possible by
return e-mail and then please delete both messages. This notice should not be
removed.
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech