Skip to content

schedule action - enable/disable fails #11175

@ingox

Description

@ingox

problem

Once you like to disable an existing schedule for a VM you'll receive an error "Start date [2025-07-10T09:38:45Z[UTC]] can't be before current time". As workaround you just clear the start date and continue.

Once you open the schedule again the old start date will appear.
Same behaviour for enabling a schedule - which is fine for enable.

Once schedule got enabled again the old start date will get used and not the current time like at the moment when I first created the schedule. (Might be okay to keep the original one.)

versions

4.20.1.0

The steps to reproduce the bug

  1. select a VM
  2. create a schedule - no changes needed on the form, just click "ok"
  3. wait 2 minutes to have the start time older than the current time
  4. open the schedule and disable the schedule - click "ok"
  5. error message will appear
  6. clear the start date and click "ok" again - now it will work
    ...

What to do about it?

I my opinion changing the start date should not be needed once you just want to disable the schedule. It will become effective right away, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions