Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy rule -> edit cron not working #2460

Open
mueller-ma opened this issue Mar 8, 2024 · 1 comment
Open

Copy rule -> edit cron not working #2460

mueller-ma opened this issue Mar 8, 2024 · 1 comment
Labels
bug Something isn't working main ui Main UI

Comments

@mueller-ma
Copy link
Member

The problem

When I copy a rule that contains a cron trigger and try to update the cron, it resets to "Every day 08:00".

The original rule:

configuration: {}
triggers:
  - id: "1"
    configuration:
      cronExpression: 0 0 6 ? * * *
    type: timer.GenericCronTrigger
[...]

Expected behavior

Steps to reproduce

grafik

Looks good after copy:
grafik

But when I click on the cron:
grafik

Your environment

runtimeInfo:
  version: 4.1.1
  buildString: Release Build
locale: de-DE
@mueller-ma mueller-ma added bug Something isn't working main ui Main UI labels Mar 8, 2024
@rkoshak
Copy link

rkoshak commented Mar 8, 2024

I've seen this behavior once even without copying a rule. But I didn't have a chance to investigate it and I haven't figured out how to reproduce it. I think it occurs when you click to edit the cron trigger on a rule that hasn't been saved yet, maybe when the rule just hasn't been saved with the new cron trigger yet.

I completely forgot about this behavior since then and never came back to it but this issue prompted my memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

No branches or pull requests

2 participants