Bug 27826 - Self checkout dies on '?' as a barcode
Summary: Self checkout dies on '?' as a barcode
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Self checkout (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 19458
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-01 22:30 UTC by Nick Clemens
Modified: 2021-03-02 15:39 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens 2021-03-01 22:30:15 UTC
To recreate:
1 - Assign an item '?' as a barcode
2 - Check the item out to a patron
3 - Enable and visit the self checkout:
    http://localhost:8080/cgi-bin/koha/sco/sco-main.pl
4 - Try to load the patron with the item issued
5 - Boom! Error below:
Template process failed: undef error - Quantifier follows nothing in regex; marked by <-- HERE in m/? <-- HERE / at /usr/lib/x86_64-linux-gnu/perl5/5.24/Template/VMethods.pm line 191.
 at /kohadevbox/koha/C4/Templates.pm line 122
Comment 1 Jonathan Druart 2021-03-02 15:39:16 UTC
Caused by
  commit fff6777b35195dca489726875039c2bde6b52c2c
  Bug 19458: Self-check module highlighting