shift-org / shift-org/shift-docs

Deleted occurrences show on calendar as cancelled

Open
#504 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API backend bug
Dominant language
JavaScript
Stars
30
Forks
25
Avg merge
9m
Merged PRs (30d)
1

Description

  1. Add an event
  2. Publish it
  3. In the edit form, change the event date (i.e. deselect the original date and select a new date).
  4. Save the event
  5. View the event on the calendar
Result

Both dates are displayed. The new date is displayed as normal, and the original date is marked as cancelled.

Expected result

Only the new date is displayed, as normal. The original date is not displayed at all.

Note

In the event form, there is only 1 occurrence shown so it appears to have been deleted entirely. However, if you look at the manage_event or retrieve_event requests in the inspector you can see that the datestatuses object has all of the occurrences, including the removed one. The removed occurrence has status: 'C' (for cancelled).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the event-date change described in the issue, then inspect the manage_event and retrieve_event requests, especially the datestatuses object and its cancelled occurrence. Trace where cancelled dates are rendered on the calendar and verify that the removed date no longer appears while the new date remains normal.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.