<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);" class="elementToProof">
<span style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">Hey Joshua,
</span>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br class="ContentPasted0">
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">
Thanks again for your help with this. I've got all but two plugins working on 3.3.1, but I'm wondering if you or anyone here can help me troubleshoot an issue with the yale_accessions plugin that's maybe a view issue?<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted1">
<a href="https://github.com/quoideneuf/aspace_yale_accessions" id="LPNoLPOWALinkPreview">https://github.com/quoideneuf/aspace_yale_accessions</a><br class="ContentPasted0">
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<br>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Trying to retrieve the department code list in browser gives an error page, and if I do a GET request through API, it's just an empty [] response. Tables in DB are populated.
<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
This is browser-based request detail in archivesspace.out. </div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
By no means a Ruby person, so I appreciate any suggestions.<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br class="ContentPasted0">
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">
I, [2023-02-15T10:45:41.582660 #12321]  INFO -- : Started GET "/plugins/yale_accessions/department_codes" for 108.88.18.68 at 2023-02-15 10:45:41 -0500
<div class="ContentPasted0">D, [2023-02-15T10:45:41.582888 #12321] DEBUG -- : Thread-3500: Post-processed params: {"last_sequence"=>1676471646}</div>
<div class="ContentPasted0">I, [2023-02-15T10:45:41.587421 #12321]  INFO -- : Processing by YaleAccessionsController#department_list as HTML</div>
<div class="ContentPasted0">D, [2023-02-15T10:45:41.766294 #12321] DEBUG -- : Thread-3464: GET /repositories/2/department_lists [session: #<Session:0x1c7dae2f @store={:user=>"admin", :login_time=>2023-02-15 10:45:32 -0500, :expirable=>true}, @system_mtime=2023-02-15
 15:45:41 UTC, @id="a6e714f4cbd399725a3efeb2dfc6bb29154355ddfb957e56598eee8efb66e2ba">]</div>
<div class="ContentPasted0">D, [2023-02-15T10:45:41.775582 #12321] DEBUG -- : Thread-3464: Post-processed params: {"repo_id"=>2}</div>
<div class="ContentPasted0">D, [2023-02-15T10:45:41.784276 #12321] DEBUG -- : Thread-3464: Responded with [200, {"Content-Type"=>"application/json", "Cache-Control"=>"private, must-revalidate, max-age=0", "Content-Length"=>"3"}, ["[]\n"]]... in 19ms</div>
<div class="ContentPasted0">I, [2023-02-15T10:45:41.819623 #12321]  INFO -- :   Rendering /cul/app/archivesspace/plugins/yale_accessions/frontend/views/department_list/edit.html.erb within layouts/application</div>
<div class="ContentPasted0">I, [2023-02-15T10:45:43.140097 #12321]  INFO -- :   Rendered shared/_breadcrumb.html.erb (1283.2ms)</div>
<div class="ContentPasted0">I, [2023-02-15T10:45:43.228309 #12321]  INFO -- :   Rendered /cul/app/archivesspace/plugins/yale_accessions/frontend/views/department_list/edit.html.erb within layouts/application (1408.4ms)</div>
<div class="ContentPasted0">I, [2023-02-15T10:45:43.230910 #12321]  INFO -- : Completed 500 Internal Server Error in 1643ms</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.233944 #12321] FATAL -- :</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.234047 #12321] FATAL -- : ActionView::Template::Error (undefined method `[]' for nil:NilClass):</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.234876 #12321] FATAL -- :     3: <h2><%= I18n.t("plugins.yale_accessions.manage_department_list") %></h2></div>
<div class="ContentPasted0">    4: <p><%= I18n.t("plugins.yale_accessions.manage_department_list_instructions") %></p></div>
<div class="ContentPasted0">    5:</div>
<div class="ContentPasted0">    6: <%= form_for @department_list, as: 'department_list', url: '/plugins/yale_accessions/department_codes', :html => { :id => "department_list_#{@department_list['uri'].sub(/.*\//, '')}", :class => "department_list_update" } do
 |f| %></div>
<div class="ContentPasted0">    7:</div>
<div class="ContentPasted0">    8:   <% @department_list['codes'].each do |code| %></div>
<div class="ContentPasted0">    9:</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.234968 #12321] FATAL -- :</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.235020 #12321] FATAL -- : app/controllers/application_controller.rb:744:in `set_locale'</div>
<div class="ContentPasted0">I, [2023-02-15T10:45:43.295452 #12321]  INFO -- : Started GET "/favicon.ico" for 108.88.18.68 at 2023-02-15 10:45:43 -0500</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.298288 #12321] FATAL -- :</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.298389 #12321] FATAL -- : ActionController::RoutingError (No route matches [GET] "/favicon.ico"):</div>
<div class="ContentPasted0">F, [2023-02-15T10:45:43.298444 #12321] FATAL -- :</div>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">
<span class="ContentPasted0">F, [2023-02-15T10:45:43.298493 #12321] FATAL -- : actionpack (5.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'</span></div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">
<span class="ContentPasted0"><br>
</span></div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">
<span class="ContentPasted0">Robert<br>
</span></div>
<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 Joshua D. Shaw
 <Joshua.D.Shaw@dartmouth.edu><br>
<b>Sent:</b> Wednesday, February 1, 2023 11:06<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] updating and plugins question</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
PS. Any errors from the AS log would help pinpoint the issue. <br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
If it errors almost immediately on startup, I'm betting on a gem issue. If it errors when you interact with the app, then it could be a view or method issue.</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Joshua<br>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Joshua D.
 Shaw <Joshua.D.Shaw@dartmouth.edu><br>
<b>Sent:</b> Wednesday, February 1, 2023 12:01 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] updating and plugins question</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Hi Robert</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
It very much depends on the plugin. Things to check</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<ol>
<li><span>If the plugin has a gemfile, make sure that is inline with the core gems - ie update the plugin gem constraints if necessary</span></li><li><span>If the plugin overrides any core views, make sure that those overrides incorporate any core changes</span></li><li><span>If the plugin overrides any core methods, again make sure that those overrides are compatible with any changes in core</span></li></ol>
<div>Joshua<br>
</div>
</div>
<div class="x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div id="x_x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Robert
 T. Wilson <rtwilson@cornell.edu><br>
<b>Sent:</b> Wednesday, February 1, 2023 11:56 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] updating and plugins question</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border:0; display:table; width:100%; table-layout:fixed; border-collapse:seperate; float:none">
<tbody style="display:block">
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px; background-color:#A6A6A6">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%; background-color:#EAEAEA; padding:7px 5px 7px 15px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
<div>You don't often get email from rtwilson@cornell.edu. <a href="https://aka.ms/LearnAboutSenderIdentification">
Learn why this is important</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px; background-color:#EAEAEA; padding:7px 5px 7px 5px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
</td>
</tr>
</tbody>
</table>
<div>
<div class="x_x_x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">Hi all,
</span>
<div style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br class="x_x_x_ContentPasted0">
</div>
<div class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Recently upgraded a dev box from 2.5.1 to 3.3.1. First time I've worked on updating an Archivesspace instance. Everything has gone fairly smoothly but getting plugins sorted.</div>
<div style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br class="x_x_x_ContentPasted0">
</div>
<div class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
What is the process for migrating plugins successfully? I couldn't find any documentation for initialize-plugin.sh, but I saw references to<strong class="x_x_x_ContentPasted0">
</strong>it. Ran that successfully on a plugin but starting archivesspace with that plugin listed in config.rb still failed.
<br class="x_x_x_ContentPasted0">
</div>
<div style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br class="x_x_x_ContentPasted0">
</div>
<div class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Thanks for any assistance. </div>
<div style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br class="x_x_x_ContentPasted0">
</div>
<div class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Robert<br class="x_x_x_ContentPasted0">
</div>
<div>
<div style="font-size:12pt; color:rgb(0,0,0)"><br class="x_x_x_ContentPasted0">
</div>
<div>
<div>
<div class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0)">Robert Wilson, he/him</div>
<div class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0)">Cloud Systems Administrator<br class="x_x_x_ContentPasted0">
</div>
<span class="x_x_x_ContentPasted0" style="font-size:12pt; color:rgb(0,0,0)">Cornell University Library</span></div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>