Bug 15271 - Calendar breaks on double quotes in title or description of holiday
Summary: Calendar breaks on double quotes in title or description of holiday
Status: RESOLVED DUPLICATE of bug 18689
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 14:14 UTC by Nick Clemens
Modified: 2017-05-29 16:05 UTC (History)
2 users (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 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 ***