Problem with "non English" text in receipt templates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In staff client in receipt template editor I entered a text containing Czech characters (like " Seznam vypůjčených exemplářů a dokumentů") and "saved locally" the template. Next time during the starting Evergreen staff client the message appeared:
Could not js-ify the JSON: SyntaxError: unterminated string literal
and when I opened the receipt template editor, I discovered the templates are set to default (i.e. all my previously locally saved templates vanished).
I tested the problem in Evergreen 2.6.2.
For the sake of completeness:, I suspect the problem occurred in previous versions too - until very recently we used version 2.2 and I am sure no one tested Czech locale from 2.3 to 2.4 (and 2.5 was tested only marginally).
Everything else works fine, i.e., when generating an entry with Czech characters in receipt (staff names, Czech book titles etc.), the characters are printed correct and no problem occurs.
The template that causes error because of the Czech characters (template for item status) and the template that works (without Czech characters) can be found here:
knihovna.
Problem still occurs in Evergreen 2.10.5