<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Noah-</p>
<p><br>
</p>
<p>I've gotten a similar error for records that were imported directly but were missing some required fields. Perhaps something similar in your case?</p>
<p><br>
</p>
<p>Joshua<br>
</p>
</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 Noah Huffman
<noah.huffman@duke.edu><br>
<b>Sent:</b> Monday, October 10, 2016 3:22:04 PM<br>
<b>To:</b> 'Archivesspace_Users_Group@lyralists.lyrasis.org'<br>
<b>Subject:</b> [Archivesspace_Users_Group] Unable to browse location records</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi all,<br>
<br>
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.<br>
<br>
Here is the text of the error:<br>
<br>
++++++++<br>
<br>
NoMethodError in LocationsController#index<br>
<br>
undefined method `[]=' for nil:NilClass<br>
Rails.root: /srv/duke/apps/archivesspace-v1.5.1/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF<br>
<br>
Application Trace | Framework Trace | Full Trace<br>
app/models/search.rb:16:in `all'<br>
app/models/search.rb:8:in `for_type'<br>
app/controllers/locations_controller.rb:14:in `index'<br>
app/controllers/locations_controller.rb:12:in `index'<br>
<br>
++++++++<br>
<br>
Does anyone have any idea what might be going on here?<br>
<br>
Thanks!<br>
-Noah<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
Archivesspace_Users_Group@lyralists.lyrasis.org<br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</div>
</span></font>
</body>
</html>