<div dir="ltr">Hi Mark,<div><br></div><div>By any chance do you have customizations for your ASpace instance? The logs you shared refer to this file:</div><div><a href="https://github.com/archivesspace/archivesspace/blob/v3.2.0/public/app/models/concerns/tree_nodes.rb">https://github.com/archivesspace/archivesspace/blob/v3.2.0/public/app/models/concerns/tree_nodes.rb</a><br></div><div>but at line 213, which doesn't exist in the core repo. </div><div><br></div><div>If you do have customizations then you may also need to check the plugins_init.rb file in your plugins directory, since that's the only way to override a model or controller in ASpace. (See for instance our <a href="https://github.com/BCDigLib/bostoncollege-branding/blob/main/public/plugin_init.rb">customizations</a> here at BC.)</div><div><br></div><div>I suspect there's some issue at this line:</div><div><a href="https://github.com/archivesspace/archivesspace/blob/v3.2.0/public/app/models/concerns/tree_nodes.rb#L21">https://github.com/archivesspace/archivesspace/blob/v3.2.0/public/app/models/concerns/tree_nodes.rb#L21</a><br></div><div>where the "primary_type" variable isn't being set somewhere. </div><div><br></div><div>Jesse</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 28, 2022 at 2:01 PM Mark Cyzyk <<a href="mailto:mcyzyk@gmail.com">mcyzyk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<br>
Thanks, Jesse,<br>
<br>
I turned on full Debug output in the error log and booted up ASpace
in my Vagrant box. <br>
<br>
Attached is the log from boot through hitting Refresh (twice) on
that erroring Archival Object.<br>
<br>
Much appreciated,<br>
<br>
Mark<br>
<pre cols="72"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a>
Verba volant, scripta manent.
</pre>
<div>On 7/28/22 11:33, Jesse Martinez wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Mark,
<div><br>
</div>
<div>Could you share more of the error log? That may help
indicate where in the breadcrumb view template file that is
getting some incomplete data from the objects_controller. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Jesse</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jul 28, 2022 at 11:20
AM Mark Cyzyk <<a href="mailto:mcyzyk@gmail.com" target="_blank">mcyzyk@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
Dear Aspace List,<br>
<br>
We've found another issue in our recent ASpace upgrade to
3.2.0, and this one affects our Prod instance, Dev instance,
and my personal Vagrant instance:<br>
<br>
Drilling down on Archival Objects errors out:<br>
<br>
<blockquote><a href="https://aspace.library.jhu.edu/repositories/3/archival_objects/30091" target="_blank">https://aspace.library.jhu.edu/repositories/3/archival_objects/30091</a><br>
<br>
From log in my Vagrant version:<br>
I, [2022-07-28T14:23:05.216039 #2200] INFO -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] Started GET
"/repositories/3/archival_objects/30091" for 10.0.2.2 at
2022-07-28 14:23:05 +0000<br>
I, [2022-07-28T14:23:05.237131 #2200] INFO -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] Processing by
ObjectsController#show as HTML<br>
I, [2022-07-28T14:23:05.238808 #2200] INFO -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] Parameters:
{"repo_slug"=>"3", "obj_type"=>"archival_objects",
"slug_or_id"=>"30091"}<br>
D, [2022-07-28T14:23:05.260721 #2200] DEBUG -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] POST Search url:
<a href="http://localhost:8089/search/records?publish=true&page_size=10&resolve%5B%5D=repository%3Aid&resolve%5B%5" target="_blank">http://localhost:8089/search/records?publish=true&page_size=10&resolve%5B%5D=repository%3Aid&resolve%5B%5</a>><br>
D, [2022-07-28T14:23:05.429279 #2200] DEBUG -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] POST Search url:
<a href="http://localhost:8089/search/records?publish=true&page_size=10&uri%5B%5D=%2Frepositories%2F3%2Fresources%" target="_blank">http://localhost:8089/search/records?publish=true&page_size=10&uri%5B%5D=%2Frepositories%2F3%2Fresources%</a>><br>
D, [2022-07-28T14:23:05.483432 #2200] DEBUG -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] POST Search url:
<a href="http://localhost:8089/search/records?publish=true&page_size=10&uri%5B%5D=%2Frepositories%2F3%2Fresources%" target="_blank">http://localhost:8089/search/records?publish=true&page_size=10&uri%5B%5D=%2Frepositories%2F3%2Fresources%</a>><br>
I, [2022-07-28T14:23:05.568721 #2200] INFO -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] Completed 500
Internal Server Error in 329ms<br>
F, [2022-07-28T14:23:05.574794 #2200] FATAL -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a]<br>
F, [2022-07-28T14:23:05.575216 #2200] FATAL -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a] ArgumentError
(wrong number of arguments (given 1, expected 2)):<br>
F, [2022-07-28T14:23:05.575577 #2200] FATAL -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a]<br>
F, [2022-07-28T14:23:05.575867 #2200] FATAL -- :
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a]
app/models/concerns/tree_nodes.rb:213:in
`breadcrumb_identifier'<br>
[2a38bc08-bb6a-4c63-bd4f-08524e5f205a]
app/controllers/objects_controller.rb:103:in `show'<br>
</blockquote>
<br>
Not sure what to do.<br>
<br>
Looks like this is an exception being caught by Ruby:<br>
<br>
<blockquote><a href="https://ruby-doc.org/core-2.5.3/ArgumentError.html" target="_blank">https://ruby-doc.org/core-2.5.3/ArgumentError.html</a><br>
</blockquote>
<br>
Not finding anything in our User Group list archive on this.<br>
<br>
Advice appreciated!<br>
<br>
Mark<br>
<pre cols="72">--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a>
Verba volant, scripta manent.
</pre>
</div>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div>Jesse Martinez<br>
</div>
<div>Senior Library Applications Developer</div>
<div>O'Neill Library, Boston College</div>
<div><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a></div>
<div>617-552-2509</div>
<div>he/him/his</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Jesse Martinez<br></div><div>Senior Library Applications Developer</div><div>O'Neill Library, Boston College</div><div><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a></div><div>617-552-2509</div><div>he/him/his</div></div></div></div></div></div></div></div>