Dynamic location action time range validation has problem
Summary
I have created a test configuration, started & finished a static location actions and want to create a following dynamic location actions.
However, the date validation fails, while it should allow it in this case.
Steps to reproduce
- Create a configuration
- Create a device
- Add a device property to that device
- mount the device in the configuration for 2023-04-17 12:06:00 UTC
- Start a static location action for 2023-04-17 10:00:00 UTC
- Stop the static location action for 2023-04-17 13:00:00 UTC
- Try to create a dynamic device action starting at 2023-04-17 14:00:00 UTC
What is the current bug behavior?
The date validation fails. However, it shows an error message that extracts the right dates:
Must be before 2023-04-17 10:00 or after 2023-04-17 13:00
What is the expected correct behavior?
It should get this validation error. The date is perfectly fine to start a new dynamic location action.
Some logs and/or screenshots
Possible fixes
ToDo's
-
Bug reproduced -
Cause found -
Bug fixed
Edited by Nils Brinckmann