Barcode autocomplete doesn't escape labels

Bug #1153726 reported by Thomas Berezansky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
2.2
Fix Released
Medium
Unassigned
2.3
Fix Released
Medium
Unassigned

Bug Description

When a title, branch code, user name, etc includes things like & the autocomplete prompt window errors out due to invalid XML. The branch below adds some escaping to the label to protect against that.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/barcode_complete_escape

Tags: pullrequest
Revision history for this message
Thomas Berezansky (tsbere) wrote :

Note that for my quick testing on concerto I set up two global completion rules:

1. Active True, Prefix CONC40, Length 12, Padding 0, Applies to Items
2. Active True, Prefix CONC41, Length 12, Padding 0, Applies to Items

Then I entered 539 into item status to get a prompt containing &.

Revision history for this message
Ben Shum (bshum) wrote :

Works for me. Picked to master, rel_2_3, and rel_2_2.

Changed in evergreen:
status: New → Fix Committed
importance: Undecided → Medium
Ben Shum (bshum)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.