[Archivesspace_Users_Group] Unable to browse location records

Noah Huffman noah.huffman at duke.edu
Tue Oct 11 10:32:53 EDT 2016

Thanks Joshua.  I think we might have pinned this down on a failure to upgrade our external Solr schema to the latest version.

We're also getting this error in the logs:
org.apache.solr.common.SolrException: undefined field: "location_profile_display_string_u_ssort"

It looks like this field was added to the Solr schema recently.


From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Joshua D. Shaw
Sent: Tuesday, October 11, 2016 10:22 AM
To: 'Archivesspace_Users_Group at lyralists.lyrasis.org' <Archivesspace_Users_Group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Unable to browse location records

Hi Noah-

I've gotten a similar error for records that were imported directly but were missing some required fields. Perhaps something similar in your case?


From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Noah Huffman <noah.huffman at duke.edu<mailto:noah.huffman at duke.edu>>
Sent: Monday, October 10, 2016 3:22:04 PM
To: 'Archivesspace_Users_Group at lyralists.lyrasis.org'
Subject: [Archivesspace_Users_Group] Unable to browse location records

Hi all,

After upgrading to v1.5.1, I'm getting a NoMethodError when I try to browse location records in the staff interface.  Has anyone else experienced this?  Curiously, I'm able to search for locations by keyword and then facet on record type (location), I just can't browse locations.  The location typeahead is also working properly.

Here is the text of the error:


NoMethodError in LocationsController#index

undefined method `[]=' for nil:NilClass
Rails.root: /srv/duke/apps/archivesspace-v1.5.1/data/tmp/jetty-

Application Trace | Framework Trace | Full Trace
app/models/search.rb:16:in `all'
app/models/search.rb:8:in `for_type'
app/controllers/locations_controller.rb:14:in `index'
app/controllers/locations_controller.rb:12:in `index'


Does anyone have any idea what might be going on here?

Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20161011/69b22158/attachment.html>

More information about the Archivesspace_Users_Group mailing list