[GH-ISSUE #2555] Moving / resizing (drag-drop) calendar event in webmail causes the end time to be changed to start time #1630

Closed
opened 2026-02-27 11:18:14 +03:00 by kerem · 0 comments
Owner

Originally created by @tomas-kucera on GitHub (Jul 5, 2022).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2555

Impacted versions

  • OS Type: Ubuntu
  • OS Version: 20.4.4 (Focal Fossa)
  • Database Type: PostgreSQL
  • Database version: 12 (default)
  • Modoboa: 2.0.1
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

  1. login with simple user (or any other) and go to webmail
  2. create a simple calendar event
  3. use mouse to drag and drop the event to other time of the same day or another day, or change its duration by dragging and dropping the border of the event

Current behavior

Visually the event looks correct for the first time. The UI even says that the event was successfully updated.

BUT - when the view is refreshed (eg by going back and forth for dates), the event changes to "one hour". Effectively it is zero length event as the end time is the same as the start time.

When doing the same in another calendar client (such as macOS Calendar), everything works fine.

Expected behavior

I am expecting that the start and end times change accordingly.
For moving - the start and end dates and times can change but not the duration
For resizing - the start date and time remains the same and only the end date and time together with the duration should change

Video/Screenshot link (optional)

Can provide but it is so simple to reproduce, that it is not needed. ;)

Originally created by @tomas-kucera on GitHub (Jul 5, 2022). Original GitHub issue: https://github.com/modoboa/modoboa/issues/2555 # Impacted versions * OS Type: Ubuntu * OS Version: 20.4.4 (Focal Fossa) * Database Type: PostgreSQL * Database version: 12 (default) * Modoboa: 2.0.1 * installer used: Yes * Webserver: Nginx # Steps to reproduce 1. login with simple user (or any other) and go to webmail 2. create a simple calendar event 3. use mouse to drag and drop the event to other time of the same day or another day, or change its duration by dragging and dropping the border of the event # Current behavior Visually the event looks correct for the first time. The UI even says that the event was successfully updated. BUT - when the view is refreshed (eg by going back and forth for dates), the event changes to "one hour". Effectively it is zero length event as the end time is the same as the start time. When doing the same in another calendar client (such as macOS Calendar), everything works fine. # Expected behavior I am expecting that the start and end times change accordingly. For moving - the start and end dates and times can change but not the duration For resizing - the start date and time remains the same and only the end date and time together with the duration should change # Video/Screenshot link (optional) Can provide but it is so simple to reproduce, that it is not needed. ;)
kerem 2026-02-27 11:18:14 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
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
starred/modoboa-modoboa#1630
No description provided.