Bug 15271

Summary: Calendar breaks on double quotes in title or description of holiday
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: ToolsAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: barton, veron
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18689
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2015-12-01 14:14:44 UTC
If a holiday contains a double quote character in either the title or description a javascript error is thrown which prevents the datepicker fromm loading.

To recreate:
1 - define a holiday (single or repeated) with a double quote in either title or description
2 - Date picker disappears and you cannot edit the holiday
Comment 1 Marc Véron 2015-12-02 20:54:32 UTC
Confirmed. 

Set the title to [My "quoted" holiday] and the calendar vanishes.

To make the calendar appear again, a database administrator has to remove or to edit the entry in table special_holidays.
Comment 2 Barton Chittenden 2017-05-29 16:05:58 UTC
Closing as a duplicate of 18689 (which is newer, but Marc Véron helpfully added a number of "See Also" links to that one).

*** This bug has been marked as a duplicate of bug 18689 ***