-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
EPG - Delete timer 'All' option fails to delete timer rule #15410
Conversation
Fix for this issue: In the EPG, selecting 'Delete timer' on a program with a series timer rule opens the 'Confirm delete' dialog asking 'Do you only want to delete this timer or also the timer rule that has scheduled it?' with two options 'All' or 'Only this'. Both options have the same result and only delete the selected timer. The 'All' option fails to delete the timer rule.
Just checked, this line of code was present in 17.6 but has been omitted in 18.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Thanks.
@linknetx and what I overlooked in the first place - next time please use more meaningful commit messages, thanks. |
@ksooo at least the commit message has extra text on the extra lines |
@ksooo what would be a more meaningful commit message to describe this? |
We usually do not include "Update foo.bar" in our commit messages (and in no case as first line). |
Fair comment, I see the problem, I was being lazy and used the GitHub Desktop default summary which I usually edit into something more meaningful. |
Description
In the EPG, selecting 'Delete timer' on a program with a series timer rule opens the 'Confirm delete' dialog asking 'Do you only want to delete this timer or also the timer rule that has scheduled it?' with two options 'All' or 'Only this'.
Both options have the same result and only delete the selected timer. The 'All' option fails to delete the timer rule.
This PR fixes this issue with the 'All' option now deleting the parent timer rule.
In the original code 'ruleTag' is never returned, only 'Tag' is returned for both options.
Motivation and Context
As above.
How Has This Been Tested?
Compiled and tested 'All' and 'Only this' options on an EPG program with series timer rule. The 'All' option now deletes the parent timer rule as expected.
Screenshots (if appropriate):
See comments for screenshot of the dialog referenced above
Types of change
Checklist: