Open thomasmitchell opened 1 year ago
Any news on this? We're on latest 1.3.90, bug is still present.
There is something about how the default value is handled when showActiveOnSelectedPartOfDay is not enabled https://github.com/grafana/oncall/blob/d3b1dc619ede45f70ae22330560ac038ca997f99/grafana-plugin/src/containers/RotationForm/RotationForm.tsx#L615-L632
We have our on call shift at 1 week, from Thursday 18:00 to next Thursday same time. When we don't set limit it only schedules one day. When setting limits we can only set 6 days, which means the shift ends a day early.
What went wrong?
What happened:
Limit Each Shift Length
switch in the modal for creating a rotation, upon unselecting it, the shift length becomes 1 day, regardless of what the recurrence is.What did you expect to happen:
How do we reproduce it?
Limit Shift Length
Limit Shift Length
Grafana OnCall Version
v1.3.14
Product Area
Schedules
Grafana OnCall Platform?
Kubernetes
User's Browser?
Firefox 115.0.1 (64-bit)
Anything else to add?
There is a workaround in that you can change the recurrence to something else and then back to the desired value to reset the shift limit again.