It should not be possible to select an end-of-maintenance date in the past compared to the start-up date #3450

Open
opened 2026-02-28 03:29:51 -05:00 by deekerman · 0 comments
Owner

Originally created by @FlorentPoinsaut on GitHub (Jul 5, 2024).

A maintenance end date can be chosen in the past compared to the start-up date.

🛡️ Security Policy

Description

image

👟 Reproduction steps

Create a maintenance and choose an end date in the past compared to the start-up date.

👀 Expected behavior

An error must appear and the user cannot validate the form.

😓 Actual Behavior

The user can create a maintenance with an end date in the past compared to the start-up date.

🐻 Uptime-Kuma Version

1.23.13

💻 Operating System and Arch

Debian 12

🌐 Browser

Firefox 115.12.0esr (64 bits)

🖥️ Deployment Environment

  • Runtime: Docker 26.1.2
  • Database: sqlite
  • Filesystem used to store the database on: Ext4
  • number of monitors: 61

📝 Relevant log output

No response

Originally created by @FlorentPoinsaut on GitHub (Jul 5, 2024). ### 📑 I have found these related issues/pull requests A maintenance end date can be chosen in the past compared to the start-up date. ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### Description ![image](https://github.com/louislam/uptime-kuma/assets/1256948/2bf4d739-64f6-422c-adb8-2d6ce0de685c) ### 👟 Reproduction steps Create a maintenance and choose an end date in the past compared to the start-up date. ### 👀 Expected behavior An error must appear and the user cannot validate the form. ### 😓 Actual Behavior The user can create a maintenance with an end date in the past compared to the start-up date. ### 🐻 Uptime-Kuma Version 1.23.13 ### 💻 Operating System and Arch Debian 12 ### 🌐 Browser Firefox 115.12.0esr (64 bits) ### 🖥️ Deployment Environment - Runtime: Docker 26.1.2 - Database: sqlite - Filesystem used to store the database on: Ext4 - number of monitors: 61 ### 📝 Relevant log output _No response_
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/uptime-kuma#3450
No description provided.