[Archivesspace_Users_Group] Error when searching in archivesspace v2.1.1
Christine Di Bella
christine.dibella at lyrasis.org
Mon Aug 28 14:27:32 EDT 2017
To Karen - Would you mind sending me the EAD for this one for testing purposes? Steve Majewski of UVA has put in a fix that's available now on http://test.archivesspace.org (thanks, Steve!), and Laney is going to look at it a little more to see if we can improve it further. Real examples like yours will definitely help us with that. (And Neal and Lance, I'd be glad for examples from you too, if you have them to share.)
To everyone - people have reported a few bugs, including this one and an issue with Windows installs that use a blank MySQL database, that we're hoping to resolve with another small release, possibly later this week. We're still aiming for a bigger release in September that adds new functionality, but for those that need these kinds of fixes sooner, we wanted to let you know that we expect to have something for you soon.
Thanks to all who have been working through the recent release and reporting issues. It helps us both with resolving the specific issues and identifying further areas for testing in the future.
Christine
Christine Di Bella
ArchivesSpace Program Manager
christine.dibella at lyrasis.org<mailto:christine.dibella at lyrasis.org>
800.999.8558 x2905
678-235-2905
cdibella13 (Skype)
[ASpaceOrgHomeMedium]
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Karen Miller
Sent: Friday, August 25, 2017 11:51 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Error when searching in archivesspace v2.1.1
One more detail about this issue - in the public interface, the untitled archival objects don't display in the component tree along the right side of the page, just like they don't in the staff interface. But if I click on their parent, they do display in the full display that appears in the center of the page, directly under the "Collection Organization" tab.
So in the example below, the sub-series "962-1966 Thunderclaps (programs, music)" is clicked open in the component structure on the right hand side, but no archival objects are shown beneath it. However, if the detailed view in the middle of the page, there are 5 archival objects displayed as children of the sub-series, including the culprit at the very bottom, which has no title, but is dated 1966.
[cid:image006.jpg at 01D32009.C3DB73D0]
Karen
From: Karen Miller
Sent: Friday, August 25, 2017 10:19 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: RE: [Archivesspace_Users_Group] Error when searching in archivesspace v2.1.1
Hi, all.
We're having a different problem with archival objects that lack a Title (but include a Date sub-record) not showing up at all in the staff interface. In addition, any siblings (and in some cases cousins as well) do not show up.
For example, on our public v1.5 site, the Gwendolen M. Carter papers finding aid has three sub-series (General Correspondence, Letters of Recommendation, and Subject Files) under the second series (Administrative Files):
https://findingaids.library.northwestern.edu/repositories/6/resources/18#components
If you open the sub-series, you can see that the first two have archival object children that have Dates, but no Titles. The third sub-series (Subject Files) has archival objects with both Titles and Dates.
In the v2.1.1 Staff interface, the Administrative Files series shows up, but it has no children. They are present in the MySQL tables and their contents show up in the Container Inventory on the public interface. I added several components under the Administrative Files series in the staff interface and they saved, but they did not show up.
I found that any archival object that is added with a Date but no Title will save but not show up in a Resource component tree. In addition, if I save an archival object without a Title and use the +1 button to create a sibling, neither of them display in the component tree.
I have not tried RDE to see if that functions differently, but this seems like a pretty big issue as it is. It's not a data issue, it's a display issue - so maybe it will be straightforward to fix?
Karen
Karen D. Miller
Monographic Cataloger/Metadata Specialist
Northwestern University Libraries
Northwestern University
1970 Campus Drive
Evanston, IL 60208
www.library.northwestern.edu<http://www.library.northwestern.edu>
k-miller3 at northwestern.edu<mailto:k-miller3 at northwestern.edu>
874.467.3462
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Harmeyer, Neal A
Sent: Wednesday, August 23, 2017 12:18 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Error when searching in archivesspace v2.1.1
Hi Lance,
We've experienced this issue as well, in search results after the move to 2.1. We recently finished some testing on it. Our findings suggest this is directly related to archival objects that possess a date subrecord but no title. For these records, a search in the new public interface spawns the 'something went wrong' message-from our error logs and yours, it looks like the search parameters are looking for titles and when those do not exist, and it breaks the search. Although an archival object title in ASpace is conditionally required when a date subrecord is present, the search does not seem to recognize that flexibility.
In addition, it appears when a keyword search is conducted across all record types, and any one of the related archival objects (for example, a sibling or child archival object in a series) does not have a title, any search for terms in that series will also generate the 'something went wrong' search result.
We've been able to reproduce this result and repair it. Adding the titles resolved the search error. I also created a simple test record with archival objects that do not possess titles; a search within the titles gives the broken search result but once the title is entered and saved, the search works. I've attached an EAD export of that test resource record (we used unique terms for us, 'AEIOU' and 'fuzzy' so we could pinpoint the test). You'll see that the series in the EAD export does not have a <unittitle> field.
We've made the local decision to require title fields for all archival objects.
I hope this helps identity trouble areas. Perhaps the public interface search could be updated to work with archival objects lacking titles-or the archival object title field made required?
Neal
--
Neal Harmeyer
Digital Archivist
Archives and Special Collections
Purdue University Libraries
harmeyna at purdue.edu<mailto:harmeyna at purdue.edu>
-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of DUPRE, LANCE
Sent: Wednesday, August 23, 2017 11:55 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Error when searching in archivesspace v2.1.1
Hello,
We have a test instance of archivespace 2.1.1 that is throwing the "Something went wrong" error when a search is performed searching all record types and for a keyword. It is only throwing the error for certain words (ex tree, navy and possibly others) and other words return results fine. The * wildcard also returns results.
Our production instance, on archivesspace 1.5.4 does not throw these errors when I do the same search.
I have attached the logs I think are relevant to the search.
Any help would be appreciated.
Thanks,
, [2017-08-23T11:48:57.060531 #11297] DEBUG -- : Thread-2022: GET /repositories/9/accessions?all_ids=true&modified_since=1503433821 [session: #<Session:0x291a34af @store={:user=>"search_indexer", :login_time=>2017-08-23 10:57:40 -0400, :expirable=>false}, @id="35ccdf0821cbc8065adf7f1576eb02e254564cd1484d6cc5dec6c673ae3ba709", @system_mtime=2017-08-23 15:48:27 UTC>] D, [2017-08-23T11:48:57.061902 #11297] DEBUG -- : Thread-2022: Post-processed params: {"all_ids"=>true, "modified_since"=>1503433821, :repo_id=>9} Aug 23, 2017 11:48:57 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: F, [2017-08-23T11:48:57.063591 #11297] FATAL -- : [11861f8d-4ed2-494e-93d5-bde230321aec]
Aug 23, 2017 11:48:57 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: F, [2017-08-23T11:48:57.064606 #11297] FATAL -- : [11861f8d-4ed2-494e-93d5-bde230321aec] ActionView::Template::Error (key not found: :title):
D, [2017-08-23T11:48:57.066191 #11297] DEBUG -- : Thread-2022: Responded with [200, {"Content-Type"=>"application/json", "Cache-Control"=>"private, must-revalidate, max-age=0", "Content-Length"=>"3"}, ["[]\n"]]... in 6ms Aug 23, 2017 11:48:57 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: F, [2017-08-23T11:48:57.065756 #11297] FATAL -- : [11861f8d-4ed2-494e-93d5-bde230321aec] 50: <% result.ancestors.each do |ancestor| %>
[11861f8d-4ed2-494e-93d5-bde230321aec] 51: /
[11861f8d-4ed2-494e-93d5-bde230321aec] 52: <span class="ancestor">
[11861f8d-4ed2-494e-93d5-bde230321aec] 53: <%= link_to process_mixed_content(ancestor.fetch('title')).html_safe, app_prefix(ancestor.fetch('uri')) %>
[11861f8d-4ed2-494e-93d5-bde230321aec] 54: </span>
[11861f8d-4ed2-494e-93d5-bde230321aec] 55: <% end %>
[11861f8d-4ed2-494e-93d5-bde230321aec] 56: <% else %>
Aug 23, 2017 11:48:57 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: F, [2017-08-23T11:48:57.066453 #11297] FATAL -- : [11861f8d-4ed2-494e-93d5-bde230321aec]
Aug 23, 2017 11:48:57 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: F, [2017-08-23T11:48:57.067003 #11297] FATAL -- : [11861f8d-4ed2-494e-93d5-bde230321aec] app/views/shared/_result.html.erb:53:in `block in _app_views_shared__result_html_erb___496965727_2290'
[11861f8d-4ed2-494e-93d5-bde230321aec] app/views/shared/_result.html.erb:50:in `_app_views_shared__result_html_erb___496965727_2290'
[11861f8d-4ed2-494e-93d5-bde230321aec] app/views/search/search_results.html.erb:72:in `block in _app_views_search_search_results_html_erb___490211956_2278'
[11861f8d-4ed2-494e-93d5-bde230321aec] app/views/search/search_results.html.erb:71:in `_app_views_search_search_results_html_erb___490211956_2278'
[11861f8d-4ed2-494e-93d5-bde230321aec] app/controllers/search_controller.rb:59:in `search'
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://secure-web.cisco.com/15lWK5VFuWNYU8-dysqpky6CV0tBt-4GGXX7vXdSyYU9KRzp-CuiExj7UOi6znSgQuoHzU_bugQWuB2AhpAoyjk-8HZ_7zXWkpvTrrtiKG9VSeG2Z4UtkxEkMafDFKKmdLWkVH7PocSqfwIt6DzC4FMFo5uN9X1_vHDu_Pcd36-BPZHVDrRxYibxSD5OgpCEOvauD51TSX2pgrdDEdUKOcxDsX1XtcmTkpJ2P28WEorUKVG5yLWdx2gF_MekYRyTJZoUBiDtGJdOm2p8LLuRBCStt4PVbjoBt5SwPrkYWO1B3xEaBMP1dw3P0_QhDbEv8lbuuhadbsK4cp5EKBqAZNiJ4sJFSEEYPQiHaUYCGLCU/http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group<https://urldefense.proofpoint.com/v2/url?u=http-3A__secure-2Dweb.cisco.com_15lWK5VFuWNYU8-2Ddysqpky6CV0tBt-2D4GGXX7vXdSyYU9KRzp-2DCuiExj7UOi6znSgQuoHzU-5FbugQWuB2AhpAoyjk-2D8HZ-5F7zXWkpvTrrtiKG9VSeG2Z4UtkxEkMafDFKKmdLWkVH7PocSqfwIt6DzC4FMFo5uN9X1-5FvHDu-5FPcd36-2DBPZHVDrRxYibxSD5OgpCEOvauD51TSX2pgrdDEdUKOcxDsX1XtcmTkpJ2P28WEorUKVG5yLWdx2gF-5FMekYRyTJZoUBiDtGJdOm2p8LLuRBCStt4PVbjoBt5SwPrkYWO1B3xEaBMP1dw3P0-5FQhDbEv8lbuuhadbsK4cp5EKBqAZNiJ4sJFSEEYPQiHaUYCGLCU_http-253A-252F-252Flyralists.lyrasis.org-252Fmailman-252Flistinfo-252Farchivesspace-5Fusers-5Fgroup&d=DwMFAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=P54V6LrXJP5Ddzc8ZItBdqB1Kr3elvFIQ04P7n0UCbQ&m=WWDt2pKrjhqtsW2LY1FslQB2ebDUgEldSRP8AP_iUbo&s=HfdAYjl2iDc8zOclK3RhBI5h8_tZ6zPUE1QnXMWmnVU&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20170828/677d71f6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 6608 bytes
Desc: image002.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20170828/677d71f6/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 141544 bytes
Desc: image006.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20170828/677d71f6/attachment-0001.jpg>
More information about the Archivesspace_Users_Group
mailing list