[Koha-bugs] [Bug 34870] Unrecognized special characters when writing off an invoice with a note
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 21 22:33:35 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34870
Laura Escamilla <Laura.escamilla at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #156005|0 |1
is obsolete| |
--- Comment #2 from Laura Escamilla <Laura.escamilla at bywatersolutions.com> ---
Created attachment 156006
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156006&action=edit
Bug 34870: Unrecognized special characters
The informations entered in the note are encoded and sent in the 'notes'
parameter of the URL. The issue arises because paycollect.pl get the
information using param(), which does not support encoded text. By using
param_fetch(), we can retrieve the informations without any issues.
TEST PLAN
1) Go to any patron profile > Accounting > Create manual invoice
2) Fill the fields and click the “Save” button
3) Click “Make a payment”
4) Select the created invoice and click on “+ Add note”
5) Enter special characters (e.g., éçö)
6) Click the “Write off selected” button
7) In the note field, you should see “�” symbols where the special characters
are supposed to be
8) Apply the patch
9) Refresh the page; now the special characters display correctly
Signed-off-by: Laura Escamilla <laura.escamilla at bywatersolutions.com>
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list