<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
All,<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
I was able to fix this issue with Mark Custer's help. Huge shoutout to him for spotting the issue.<br>
<br>
It turned out that the Solr Index was out of sync with the database. In Mark's words: "the EAD exporter will use the Solr index when it can.... [T]he index might actually be out of sync with the database, which could explain why you see those file URIs as
published, but they are not being exported in the EAD because they aren't showing up as published in the Solr index." Since the EAD exports were being generated through the data stored in the Solr Index and the Index hadn't caught the updated File Versions
(Publish = True), the export DO (Digital Object) href's were assigned the DO identifier.<br>
<br>
A very similar issue can be found on this post in the ArchivesSpace listserv: Importing from AT to AS - File Versions left unpublished (<a href="http://lyralists.lyrasis.org/mailman/htdig/archivesspace_users_group/2019-April/006725.html">http://lyralists.lyrasis.org/mailman/htdig/archivesspace_users_group/2019-April/006725.html</a>)<br>
<br>
Again, thank you Mark for your help!<br>
<br>
Sincerely,<br>
<br>
Corey<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Corey Schmidt
<Corey.Schmidt@uga.edu><br>
<b>Sent:</b> Wednesday, August 19, 2020 11:27 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] File Version HREF Attribute Incorrectly Assigned from EAD Exports</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Dear all,<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
Hello, this is Corey Schmidt, ArchivesSpace Project Manager at the University of Georgia Libraries. I hope everyone is staying safe, happy, and healthy.<br>
<br>
I'm having a problem with EAD exports from ArchivesSpace, particularly related to digital objects. When exporting EAD files, the digital object ID is assigned to the href attribute when in fact the File URI should be assigned to the href attribute. The converter
is saying IF file_versions[0] != NULL THEN href="file_versions[0].file_url" ELSE href="digital_object_id". For our case, it is defaulting to ELSE, even though there are file versions attached to our digital objects and they are published. I confirmed this
by making a get request for some digital objects and saw that the list of file versions for each one has at least 1 file version. Attached is a screenshot (because I'm from the "Show-Me" state).<br>
<br>
When exporting records, we normally include digital objects, but we exclude unpublished components. However, when I tried including unpublished components, the File URIs are assigned correctly to href attributes. I checked the MySQL database and all the file
versions for the field publish = 1 (which I assume means Publish = True). Within the staff interface, it also shows Publish = True, so I don't think it's an issue with either the database or Solr Index. I should note that this behavior is inconsistent, where
some (usually smaller) finding aids will export with the file URI assigned to the href attribute without including unpublished components. However, the vast majority do not.<br>
<br>
Any clarification and/or help would be greatly appreciated. Thanks!<br>
<br>
Sincerely,<br>
<br>
Corey<br>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Verdana,Geneva,sans-serif; color:rgb(0,0,0)">Corey Schmidt</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Verdana,Geneva,sans-serif; font-size:11pt; color:rgb(51,51,51)">ArchivesSpace Project Manager</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Verdana,Geneva,sans-serif; font-size:11pt; color:rgb(51,51,51)">University of Georgia Special Collections Libraries</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Verdana,Geneva,sans-serif; font-size:10pt; color:rgb(102,102,102)"><i>Email:</i></span><span style="font-family:Verdana,Geneva,sans-serif; font-size:10pt; color:rgb(102,102,102)"> Corey.Schmidt@uga.edu</span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>