[Archivesspace_Users_Group] Can't Transfer Resources Between Repositories
Chris Fitzpatrick
Chris.Fitzpatrick at lyrasis.org
Wed Oct 14 15:26:03 EDT 2015
Hi Matt G.,
Sorry...the resync suggestion was for Matt F.
Getting confused here...You're problem looks to be the same are Marcus'.
That is, your outgoing repo has lost its link to it agent.
Check the agent_representation_id column in the repository table for the row of the repo your transferring out of. If there is no value or if the value is pointing to a non-existing row in the agent_corporate_entity table. To check this try :
select * from agent_corporate_entity where id = ( select agent_representation_id from repository where id = YOUR_REPO_ID );
if it returns no records, then the agent_corporate_entity was deleted ), you'll need to change this value to an existing row in teh agner_corporate_entity table ( e.g., make a new corporate entity agent for the repository and manually add it's row id to the agent_representation_id column in the repository table.
Does that make sense?
b,chris.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
http://archivesspace.org/
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Matthew J Gorzalski <mGorzalski at lib.siu.edu>
Sent: Wednesday, October 14, 2015 8:54 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Can't Transfer Resources Between Repositories
Thanks Chris. No we haven’t re-sequenced. Is resequencing something we should always do after migrating anyway?
Matt
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Chris Fitzpatrick
Sent: Wednesday, October 14, 2015 12:37 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Can't Transfer Resources Between Repositories
Matt,
Your issue is totally different. Brian has been reworking the way that sequencing is tracked, but since this is a rather important change, we're needing people to test it out before we can roll it into a release.
I'm not sure, but have you run the resequencer on your data? This might fix the issue.
b,chris.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
http://archivesspace.org/
[http://www.archivesspace.org/sites/default/files/ArchivesSpace%20Logo5.png]<http://archivesspace.org/>
ArchivesSpace a community building an open-source web ...
Built for archives by archivists, ArchivesSpace is the open source archives information management application for managing and providing web access to archives ...
Read more...<http://archivesspace.org/>
________________________________
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 MATTHEW R FRANCIS <mrf22 at psu.edu<mailto:mrf22 at psu.edu>>
Sent: Wednesday, October 14, 2015 6:30 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Can't Transfer Resources Between Repositories
Just to piggy-back on this conversation.
The vast majority of the time that we attempt to transfer records between repositories it occurs with zero issues. Unfortunately, we have one resource record that so far we have been unable to transfer (we have attempted and failed in v.1.2 and now v.1.4). However, our error is appears to be stemming from a different source as seen below. Any advice on how we can resolve this?
-Matt
[cid:image001.png at 01D10687.DB96F4B0]
Matt Francis
Archivist for Collection Management
Special Collections Library
Penn State University
________________________________
From: "Brad Westbrook" <brad.westbrook at lyrasis.org<mailto:brad.westbrook at lyrasis.org>>
To: "Archivesspace Users Group" <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Sent: Wednesday, October 14, 2015 11:43:47 AM
Subject: Re: [Archivesspace_Users_Group] Can't Transfer Resources Between Repositories
Hi.
I have not been able to verify either Marcus or Matt’s reports. Using test.archivesspace.org, I was able to transfer both accession and resource records across multiple repositories.
Would either of you mind trying to replicate the problem in test.archivesspace.org or in sandbox.archivesspace.org?
Thanks,
Brad
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Matthew J Gorzalski
Sent: Wednesday, October 14, 2015 9:45 AM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Can't Transfer Resources Between Repositories
I’ve had the same problem transferring accession records from one repository to another. I don’t have the technical knowledge to explore a solution, but I confirm you aren’t the only one having this issue.
Matt Gorzalski
SIU Carbondale
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Ladd, Marcus
Sent: Wednesday, October 14, 2015 8:30 AM
To: archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Can't Transfer Resources Between Repositories
Has anyone else been having issues with transferring resources between repositories? I've been stumped on this for months. Every time I try and transfer a resources (regardless of which resource or to/from which repository), I get the following error:
Transfer Failed: {"error":{"linked_agents/0/ref":["Must be one of: JSONModel(:agent_corporate_entity) uri, JSONModel(:agent_family) uri, JSONModel(:agent_person) uri, JSONModel(:agent_software) uri (you provided a String)"]},"warning":null,"invalid_object":"#<JSONModel(:event) {\"linked_agents\"=>[{\"role\"=>\"transmitter\", \"ref\"=>\"/agents/corporate_entities\"}, {\"role\"=>\"recipient\", \"ref\"=>\"/agents/corporate_entities/40\"}], \"linked_records\"=>[{\"role\"=>\"transfer\", \"ref\"=>\"/repositories/5/resources/240\"}], \"event_type\"=>\"custody_transfer\", \"timestamp\"=>\"2015-08-11T20:31:45Z\", \"jsonmodel_type\"=>\"event\", \"external_ids\"=>[]}>"}
I have also attached a screenshot of the error if anyone is able to provide any suggestions.
Thanks,
Marcus
--------
Marcus Ladd
Special Collections Digital Librarian
Miami University, Oxford, OH
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20151014/281d01ad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10819 bytes
Desc: image001.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20151014/281d01ad/attachment.png>
More information about the Archivesspace_Users_Group
mailing list