[Koha-bugs] [Bug 21716] Item Search hangs when \ exists in MARC fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 30 13:41:59 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21716

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82776|0                           |1
        is obsolete|                            |

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 82779
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82779&action=edit
Bug 21716: Item Search hangs when \ exists in MARC fields

When there are \ (backslashes) in MARC records the item search hangs
when trying to load the page the record should appear on. It gets stuck
on processing. This patch fixes this issue.

To Test:
1. Create or edit a biblio and add in \ to the publisher field. eg:
Narr\Francke\Attempto
2. Make sure this biblio has items attached that you can search for
3. Do an item search which would include the edited biblio in the
results
    - a general search for a home library or shelving location will work
4. Try to load All results (or the page with the edited biblio)
   The page will hang :-(
5. Apply patch
6. Perform the item search again
7. Try to load All results
   The page will load :-)

Mentored-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list