Issue Summary
When creating and saving a new holiday to a calendar with existing holidays, the dates of the previous holidays decrease by one day (they go one day into the past). e.g. New Year's Day (January 1) changes to December 31 after adding an additional holiday.
The problem can also be triggered by modifying the Working Hours for the calendar and clicking Save.
Steps to Reproduce
- Create or modify a calendar for an SLA
- Add a holiday
- Save the calendar
- Edit the calendar and add another holiday
- Save the calendar again
- Edit the calendar again to observe the dates on the holidays - the holiday created in step 2 will have decremented its date by one day
Expected Results
Previously saved holidays remain on the correct date.
Actual Results
Previously saved / existing holidays have their date set backward by one day. This continues for each additional time the calendar is saved. For example, a holiday on January 5 will move backwards to January 1 if four more holidays are added to the calendar (and saved individually).
Workaround
Disable the new Calendar view (introduced in Service Desk 4.4) via Dark Feature:
- Go to the darkfeature page: <Jira_URL>/secure/SiteDarkFeatures!default.jspa
- Add the following feature:
sd.workinghours.new.page.disabled
- relates to
-
JSDSERVER-6599 Jira Service Desk not saving Holiday on the select date.
- Closed