[Archivesspace_Users_Group] Unable to browse location records

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Tue Oct 11 10:22:18 EDT 2016


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?


Joshua

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Noah Huffman <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-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF

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?

Thanks!
-Noah
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20161011/e2d98ecc/attachment.html>


More information about the Archivesspace_Users_Group mailing list