mail icon indicating copy to clipboard operation
mail copied to clipboard

Event from email with nonsense date range is saved, event starts in the future and ends in the past.

Open solarchemist opened this issue 3 years ago • 0 comments

Steps to reproduce

  1. Create an event from an email in the Nextcloud Mail app (click the dots menu, then "More actions", then "Create event")
  2. Change the prefilled start and end date so that the start date occurs after the end date (I did by this mistake, possibly due to the second date field being obscured by other window elements)
  3. Go to the calendar: the event does not exist.
  4. Search for the event: it shows up in the search results.

Expected behavior

Event should either be created (but the mail/calendar app should be smart enough to flip the start/end dates before doing so), or some sort of warning emitted and no event created.

Actual behavior

The event is saved,

Mail app version

1.13.0 it also happens on stable4.1

Mailserver or service

runbox

Calendar app version

3.3.1 even to the latest calendar

Operating system

Ubuntu 18.04.6

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database

MariaDB

Additional info

This issue was originally raised by OP in this comment to issue #11 in the Calendar repo.

Hope it's easy enough to reproduce and not the result of some fluke.

solarchemist avatar Jun 20 '22 19:06 solarchemist