[Archivesspace_Users_Group] Hudson Molonglo: Extended Advanced Search Plugin NoMethodError

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Thu Aug 5 13:57:39 EDT 2021


The release package looks like it was created before the class name change from CommonIndexer to IndexerCommon. That name change was for AS v2.2.2+, so the release won't work with 2.7.0. You could try cloning the master branch of the repo, though that may also flail with 2.7.0. And I'd definitely test it against test data, *not* production.

jds

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Corinne Chatnik <Corinne.Chatnik at nysed.gov>
Sent: Thursday, August 5, 2021 1:46 PM
To: archivesspace_users_group at lyralists.lyrasis.org <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Hudson Molonglo: Extended Advanced Search Plugin NoMethodError


Hi,



I’m trying to implement Release 0.6 of the Extended Advanced search plugin with Archivesspace 2.7.0 and I get the NoMethodError: undefined method no matter what I do. I’ve followed all installation instructions on this page: https://github.com/hudmol/extended_advanced_search<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhudmol%2Fextended_advanced_search&data=04%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C87c8e49afcf74cb91c6c08d95839037c%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637637824163034953%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=RepolQoRnbG4aaNw%2B15gjydrcr0LeFQpeD9zRlRV4eg%3D&reserved=0>.



Using the exact source code from github I get the following error in the log:

--- Backtrace

NoMethodError: undefined method `add_attribute_to_resolve' for CommonIndexer:Class

             method_missing at org/jruby/RubyBasicObject.java:1657

      <class:CommonIndexer> at archivesspace/plugins/extended_advanced_search/indexer/common_indexer.rb:5

                     <main> at archivesspace/plugins/extended_advanced_search/indexer/common_indexer.rb:3



Am I missing necessary data in the database or something in the code?



Thanks!



Corinne Chatnik

New York State Archives

Corinne.Chatnik at nysed.gov


Confidentiality Notice

This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210805/4cbc50aa/attachment.html>


More information about the Archivesspace_Users_Group mailing list