[TimerEntry] Crash when "repeat/user defined" has no days set

Issue #523 resolved
prl created an issue

If a timer is created or edited in the "Timer entry" screen to have "Repeat type" set to "repeated", "Repeats" set to "user defined" and all the "day name" switches switched off, the UI crashes when GREEN OK is pressed.

The problem is that the code to handle the case of user defined repeats with no days set for the repeat pattern calls time.time() when the code has not imported the time module.

Replication steps

From live TV, TIMER to enter the timer list, then GREEN Add to add a new timer. Change "Repeat type" to "repeated" and "Repeats" to "user defined". Switch all the "day name" switches off. GREEN OK. Crash.

Comments (1)

  1. Log in to comment