[Archivesspace_Users_Group] Hudson Molonglo: Extended Advanced Search Plugin NoMethodError
James Bullen
james at hudmol.com
Thu Aug 5 19:56:49 EDT 2021
Thanks Joshua - I just pushed out a release from the current master:
https://github.com/hudmol/extended_advanced_search/releases/tag/v1.0 <https://github.com/hudmol/extended_advanced_search/releases/tag/v1.0>
Cheers,
James
> On Aug 6, 2021, at 4:02 AM, Corinne Chatnik <Corinne.Chatnik at nysed.gov> wrote:
>
> Thank you! This helps a lot.
>
> From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Joshua D. Shaw
> Sent: Thursday, August 5, 2021 1:58 PM
> To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
> Subject: Re: [Archivesspace_Users_Group] Hudson Molonglo: Extended Advanced Search Plugin NoMethodError
>
> 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 <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 Corinne Chatnik <Corinne.Chatnik at nysed.gov <mailto:Corinne.Chatnik at nysed.gov>>
> Sent: Thursday, August 5, 2021 1:46 PM
> To: archivesspace_users_group at lyralists.lyrasis.org <mailto:archivesspace_users_group at lyralists.lyrasis.org> <archivesspace_users_group at lyralists.lyrasis.org <mailto: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 <mailto: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.
>
>
> _______________________________________________
> 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/20210806/506804f4/attachment.html>
More information about the Archivesspace_Users_Group
mailing list