Bug 24286: Escape forward slash in GENRE/FORM (and any authtype)
authorNick Clemens <nick@bywatersolutions.com>
Fri, 20 Dec 2019 13:33:28 +0000 (13:33 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 6 Feb 2020 22:56:08 +0000 (22:56 +0000)
commit7207e57dbe867d6da3f38393b03242cf4c3d1eb5
tree5d22bf383930758d4dc050fc310f38c7fd164e3e
parent203d8a194d8879db905121c8981bb499f9647c3e
Bug 24286: Escape forward slash in GENRE/FORM (and any authtype)

Note that bug 24267 will fix the issue during Z39 searching for new auth, but the duplicate check at saving will still fail

To test:
 0 - Set SearchEngine to Elasticsearch,  QueryRegexEscapeOptions  to 'Don't Escape'
 1 - Browse to Authorities
 2 - Select New->New from Z3950
 3 - Search for subject 'Short stories'
 4 - Auth search explodes
 5 - Apply patch
 6 - Repeat and confirm the search results return
 7 - Import and save the GENRE/FORM record for Short stories
 8 - Repeat the search and import the same record
 9 - Confirm that upon save you are notified of duplicate, don't save
10 - set  QueryRegexEscapeOptions to 'Escape' and confirm Z39 searching works and importing/save notifies of duplicate
11 - set SearchEngine to Zebra and confirm Z39 searching works and importing/save notifies of duplicate

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Myka Kennedy Stephens <mkstephens@lancasterseminary.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
C4/AuthoritiesMarc.pm