[Archivesspace_Users_Group] Strange search bug
Chris Fitzpatrick
Chris.Fitzpatrick at lyrasis.org
Wed Oct 29 10:02:36 EDT 2014
Hi All,
Yes, there looks like there's a bug. The issue is actually not with the search term, but with the results. Archival Objects don't have to have titles, so in the results set its trying to call html_safe ( a method that clears a string to be rendered as html ) on a nil value.
Writing a test now and will submit a patch shortly. Apologise about the inconvenience.
b,chris.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
http://archivesspace.org/
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Pitaro, Francesca <FPitaro at ap.org>
Sent: Wednesday, October 29, 2014 2:33 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Strange search bug
We are having the same problem as Angela. When searching the world "Heinzerling", I get the same "something went wrong message". If I add the first name, there is no problem. It is a record that I added since we upgraded to the new release. Not sure if this is relevant.
Francesca
[cid:image001.jpg at 01CFF35B.5D360AB0]
[signature-96]
Francesca Pitaro
Processing Archivist
AP Corporate Archives
fpitaro at ap.org<mailto:fpitaro at ap.org>
www.ap.org<http://www.ap.org>
450 West 33rd Street
New York, NY 10001
T 212-621-7446
The information contained in this communication is intended for the use
of the designated recipients named above. If the reader of this
communication is not the intended recipient, you are hereby notified
that you have received this communication in error, and that any review,
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please
notify The Associated Press immediately by telephone at +1-212-621-1898
and delete this email. Thank you.
[IP_US_DISC]
msk dccc60c6d2c3a6438f0cf467d9a4938
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20141029/6012cef4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 13756 bytes
Desc: image001.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20141029/6012cef4/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 14637 bytes
Desc: image002.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20141029/6012cef4/attachment-0001.jpg>
More information about the Archivesspace_Users_Group
mailing list