[Archivesspace_Users_Group] undefined method `show_identifier_column?'
Mark Cyzyk
mcyzyk at jhu.edu
Mon Sep 14 16:05:29 EDT 2020
Dear Aspace List,
Here is a puzzler:
One of our custom plugins is throwing an error with ASpace 2.8.0:
> I, [2020-09-14T18:31:21.347591 #1711] INFO -- : Rendered
> shared/_breadcrumb.html.erb (3729.1ms)
> I, [2020-09-14T18:31:21.551547 #1711] INFO -- : Rendered
> search/_filter.html.erb (187.7ms)
> I, [2020-09-14T18:31:23.178717 #1711] INFO -- : Rendered
> /usr/share/archivesspace/plugins/staff_mode_search/frontend/views/search/_listing.html.erb
> (1380.8ms)
> I, [2020-09-14T18:31:23.188677 #1711] INFO -- : Rendered
> search/_results.html.erb (1834.8ms)
> I, [2020-09-14T18:31:23.191373 #1711] INFO -- : Rendered
> search/do_search.html.erb within layouts/application (5600.4ms)
> I, [2020-09-14T18:31:23.193788 #1711] INFO -- : Completed 500
> Internal Server Error in 8777ms
> F, [2020-09-14T18:31:23.238453 #1711] FATAL -- :
> F, [2020-09-14T18:31:23.238827 #1711] FATAL -- :
> ActionView::Template::Error (undefined method
> `show_identifier_column?' for #<#<Class:0x36821e2c>:0x5ccfe41e>
> Did you mean? show_external_ids?):
> F, [2020-09-14T18:31:23.251369 #1711] FATAL -- : 6: %>
> 7:
> 8: <% if @search_data.results? %>
> 9: <% add_identifier_column if show_identifier_column? %>
> 10: <%= render_aspace_partial :partial =>
> "shared/pagination_summary" %>
> 11:
> 12: <table id="tabledSearchResults" class="table table-striped
> table-bordered table-condensed table-hover table-sortable
> table-search-results" <% if allow_multi_select?
> %>data-multiselect="true"<% end %>>
> F, [2020-09-14T18:31:23.251910 #1711] FATAL -- :
> F, [2020-09-14T18:31:23.252256 #1711] FATAL -- :
> app/helpers/application_helper.rb:307:in `render_aspace_partial'
> app/views/search/_results.html.erb:22:in
> `_app_views_search__results_html_erb___900220805_2354'
> app/helpers/application_helper.rb:307:in `render_aspace_partial'
> app/views/search/do_search.html.erb:16:in
> `_app_views_search_do_search_html_erb___1615232398_2350
The key line here is, I think:
> F, [2020-09-14T18:31:23.238827 #1711] FATAL -- :
> ActionView::Template::Error (undefined method
> `show_identifier_column?' for #<#<Class:0x36821e2c>:0x5ccfe41e>
> Did you mean? show_external_ids?):
No, I didn't mean "show_external_ids'!
The docs do indeed list 'show_identifier_column?' as a method.
(/archivesspace/docs/doc/SearchHelper.html#show_identifier_column%3F-instance_method)
Does anyone have an idea about why ASpace 2.8.0 might be throwing this
error when this method is called?
Much appreciated,
Mark
--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
mcyzyk at jhu.edu
Verba volant, scripta manent.
More information about the Archivesspace_Users_Group
mailing list