[mythtv-users] "Forget Old" button broken in mythweb

Michael T. Dean mtdean at thirdcontact.com
Mon Aug 31 17:55:10 UTC 2009


On 08/31/2009 10:15 AM, Nick Morrott wrote:
> On 31/08/2009, Johnny wrote:
>   
>>  go away indicating that it has been forgotten. Is it possible the the
>>  query to mysql isn't complete when the page refreshes immediately
>>  after I click the button so it doesn't show that it has been
>>  forgotten?
>>     
> Entirely possible, especially on slower machines. I often find that
> marking programs in the Upcoming Recordings list as Don't or Never
> Record requires a second page reload a couple of seconds after the
> initial reload to reflect the updated status of the program. This
> situation may possibly also depend upon the complexity of the relevant
> scheduling rules.

That's due to the backend's reschedule time.  MythWeb only displays what 
information the backend gives it about shows, so it can not show it as 
having changed state until the reschedule is complete and the backend 
gives different information.

This is "fixed" in trunk (will be fixed in 0.22).  It's fixed by 
refusing to reload the page until the schedule run is complete (or after 
2 minutes for those of you with underpowered backends).  So, when you 
click, you get to wait before you see the page updated.

I /hope/ it will prevent all the duplicate "Forget Old button does not 
work" tickets we keep getting.  ;)

http://svn.mythtv.org/trac/ticket/2827 and 
http://svn.mythtv.org/trac/ticket/6018 being 2 examples and 
http://svn.mythtv.org/trac/ticket/292 and 
http://svn.mythtv.org/trac/ticket/3307 and 
http://svn.mythtv.org/trac/ticket/6348 being other dups that mention 
other buttons that were affected by the same issue.

Mike


More information about the mythtv-users mailing list