Calendar Tab: Editing an Event returns HTTP 400 #1324

Open
opened 2026-10-07 05:58:54 +00:00 by kayg · 1 comment
Owner

Steps

  1. Connect a writable CalDAV calendar.
  2. Create an Event in the Calendar Composer.
  3. Open the Event preview, choose Edit Event, change the title, and save.

Expected

The Event update succeeds and the provider contains the new title.

Actual

Create succeeds once (the rapid duplicate submit did not create a second object). Edit sends PUT /api/v1/calendar/events/<uuid>%402026-10-08T15%3A00%3A00Z, which returns HTTP 400. The Composer shows “Changes could not be saved.” and the provider retains the old title. The URL contains the range occurrence ID and its start instant.

Evidence

artifacts/bash-calendar/round2-edit/edit-event-diagnostic.txt

Severity: major.

## Steps 1. Connect a writable CalDAV calendar. 2. Create an Event in the Calendar Composer. 3. Open the Event preview, choose **Edit Event**, change the title, and save. ## Expected The Event update succeeds and the provider contains the new title. ## Actual Create succeeds once (the rapid duplicate submit did not create a second object). Edit sends `PUT /api/v1/calendar/events/<uuid>%402026-10-08T15%3A00%3A00Z`, which returns HTTP 400. The Composer shows “Changes could not be saved.” and the provider retains the old title. The URL contains the range occurrence ID and its start instant. ## Evidence `artifacts/bash-calendar/round2-edit/edit-event-diagnostic.txt` Severity: major.
Author
Owner

Fixed on the Calendar branch in commit febe9ef8a: Event Composer edits now send PUT with the stable identity returned by the Event detail read. The range occurrence ID remains available for selection and deep links.

Regression: apps/web/e2e/calendar-event-edit-1214.mjs failed before the fix with HTTP 400 and passes against the rebuilt production bundle. It also confirms one POST for rapid double submit.

Fixed on the Calendar branch in commit `febe9ef8a`: Event Composer edits now send PUT with the stable identity returned by the Event detail read. The range occurrence ID remains available for selection and deep links. Regression: `apps/web/e2e/calendar-event-edit-1214.mjs` failed before the fix with HTTP 400 and passes against the rebuilt production bundle. It also confirms one POST for rapid double submit.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1324
No description provided.