[Archivesspace_Users_Group] data problem with the migrator

Chris Fitzpatrick Chris.Fitzpatrick at lyrasis.org
Fri Jun 5 09:53:05 EDT 2015

Ah, ok...well..then that might be easier to do just in the database if you want to delete all your rights statments.

Can you issue this MySQL command :

delete from rights_statement;

Then delete the data/indexer_state folder to trigger a reindex. This should remove all your rights statements.


Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat  | Phone: 918.236.6048
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Callahan, Maureen <maureen.callahan at yale.edu>
Sent: Friday, June 5, 2015 2:47 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] data problem with the migrator

Hi Chris,

That's exactly right - I'd like to remove "copyrighted" rights statements. And actually, at this point, these are the only rights subrecords that we have, so I'd be fine with a method of safely removing them all.


On Jun 5, 2015, at 8:40 AM, Chris Fitzpatrick <Chris.Fitzpatrick at lyrasis.org<mailto:Chris.Fitzpatrick at lyrasis.org>> wrote:


Yes, so since RightsStatements aren't "first class" type objects ( they can only exists as associations to resources, archival objects, accessions, etc ), there's not an endpoint directly for them. To remove them, you have to go through the accession/resource/archival object/etc and update that record.

Are you wanting to delete all "Copyrighted" rights statements? Or is there some kind of filter/qualifier we can use to limit which records should be deleted?


Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat  | Phone: 918.236.6048
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Callahan, Maureen <maureen.callahan at yale.edu<mailto:maureen.callahan at yale.edu>>
Sent: Thursday, June 4, 2015 5:18 PM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] data problem with the migrator

Something for ALL users going into ASpace from AT to be aware of - the AT migrator creates a rights record in ArchivesSpace if the "Rights Transferred" box is checked in AT. (As I mentioned last month, it only brings over the rights transferred note if this box is checked, which is a different kind of problem).

Here's what it looks like (attached, for those without in-line image viewing):

<Screen Shot 2015-06-04 at 11.10.32 AM.png>

Guys, I'm sorry, but there are a ton of terrible assumptions here based on the presence of a clicked checkbox. Just because rights were transferred doesn't mean that COPYRIGHT was transferred (copyright could be transferred to the public domain, for instance), it doesn't mean that the copyright is still active, and I also wouldn't assume that the jurisdiction is the United States.

I'd like to request that the AT migrator be changed to something a little more modest.

We've been working very hard at Yale to get our rights documentation in order and we'd like to keep this in ASpace. This means that I need to delete these often-erroneous rights records.I don't see anything in the API documentation about deleting rights records - could you give me some guidance about the safest way to do so?

Thanks much,
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150605/ebd42cd5/attachment.html>

More information about the Archivesspace_Users_Group mailing list