<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>If anyone has this problem in the future, a restart of the
ArchivesSpace application seems to restore the collection
organization view. If this issue is related...<br>
</p>
<p><a moz-do-not-send="true" href="https://github.com/rails/rails/issues/33026">https://github.com/rails/rails/issues/33026</a></p>
<p>...then it may be fixable by updating to a newer version of
Rails. But we've only had one occurrence in countless restarts, so
it isn't a huge priority.<br>
</p>
<p>Andrew.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 03/06/2020 19:16, Andrew Morrison
wrote:<br>
</div>
<blockquote type="cite" cite="mid:2e851659-222f-51b5-6f7e-c80fe51e716d@bodleian.ox.ac.uk">
<p>Hello,</p>
<p>Has anyone encountered a problem with the collection
organization view not displaying any of the contents of the
collection? All the resource records in our system are affected,
but here is one example:</p>
<p><a moz-do-not-send="true" href="https://archives.bodleian.ox.ac.uk/repositories/2/resources/4976/collection_organization">https://archives.bodleian.ox.ac.uk/repositories/2/resources/4976/collection_organization</a></p>
<p>The child archival objects are listed in the sidebar. Their IDs
are embedded in data-uris attributes in div elements waiting to
be populated, the JavaScript to fetch them is running, but the
HTTP requests to retrieve JSON containing snippets of HTML are
returning 500 internal server errors. The application log
reports a NoMethodError each time, seemingly due to nil objects
being passed to one of the Rails libraries:</p>
<pre class="c-mrkdwn__pre" data-stringify-type="pre" style="box-sizing: inherit; margin: 4px 0px; padding: 8px; --saf-0:rgba(var(--sk_foreground_low,29,28,29),0.13); font-size: 12px; line-height: 1.50001; font-variant-ligatures: none; white-space: pre-wrap; overflow-wrap: break-word; word-break: normal; tab-size: 4; font-family: Monaco, Menlo, Consolas, "Courier New", monospace !important; border: 1px solid var(--saf-0); border-radius: 4px; background: rgba(var(--sk_foreground_min,29,28,29),0.04); counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(29, 28, 29); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">F, [2020-06-03T08:47:23.813482 #1315] FATAL -- : [4251522f-7cdc-4744-a371-5865d02d5124]
F, [2020-06-03T08:47:23.815452 #1315] FATAL -- : [4251522f-7cdc-4744-a371-5865d02d5124] NoMethodError (undefined method `+' for nil:NilClass):
F, [2020-06-03T08:47:23.815548 #1315] FATAL -- : [4251522f-7cdc-4744-a371-5865d02d5124]
F, [2020-06-03T08:47:23.815644 #1315] FATAL -- : [4251522f-7cdc-4744-a371-5865d02d5124] actionpack (5.0.1) lib/action_dispatch/journey/path/pattern.rb:131:in `[]'
[4251522f-7cdc-4744-a371-5865d02d5124] actionpack (5.0.1) lib/action_dispatch/journey/path/pattern.rb:127:in `block in captures'
[4251522f-7cdc-4744-a371-5865d02d5124] org/jruby/RubyArray.java:638:in `initialize'
[4251522f-7cdc-4744-a371-5865d02d5124] actionpack (5.0.1) lib/action_dispatch/journey/path/pattern.rb:127:in `captures'
[4251522f-7cdc-4744-a371-5865d02d5124] actionpack (5.0.1) lib/action_dispatch/journey/router.rb:114:in `block in find_routes'
</pre>
<p>But I cannot figure out why this might be happening.<br>
</p>
<p>It only started since a server reboot following an operating
system update. But we have an identically-configured QA testing
system which received the same update and does not have this
problem. Nothing seems to be missing or on a different version
when comparing the two systems.<br>
</p>
<p>Does anyone have any suggestions?<br>
</p>
<p>Thanks,</p>
<p>Andrew.</p>
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
</blockquote>
</body>
</html>