The repeat end date should not be allowed to come before the start time.

Created on 9 January 2024, 11 months ago
Updated 11 May 2024, 6 months ago

Problem/Motivation

There currently don't appear to be any checks to make sure that if a smart date is recurring until a specific date (repeat end date) that the end date doesn't come before the starting date/time.

Steps to reproduce

  1. Create or edit a piece of content with a smart_date field.
  2. Enter a date and time for the smart_date field.
  3. Set the 'Repeats' field to 'daily'
  4. Set the 'Ends' field to 'On Date'
  5. Enter a date that is before the date/time entered in step 2
  6. Save the content

At this point the node is saved, but the smart_date field is cleared out.

Proposed resolution

Add validation that makes sure the repeat-end-date comes after the starting time.

πŸ› Bug report
Status

Fixed

Version

4.1

Component

Smart Date Recur

Created by

πŸ‡ΊπŸ‡ΈUnited States mkinnune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024