Opened 17 years ago
Closed 16 years ago
#2537 closed defect (fixed)
error in Call to a member function rec_override()
Reported by: | anonymous | Owned by: | Rob Smith |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythweb | Version: | 0.20 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Trying to override a recording from the Upcoming page I get the following error.
Fatal error: Call to a member function rec_override() on a non-object in /var/www/html/mythweb/modules/tv/upcoming.php on line 45
Attachments (3)
Change History (17)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Was talking to someone about this in irc the other day. Only thing I can think of is that it was a program table entry that is no longer present.
comment:3 Changed 16 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Reliably reproducable today with code from current Ubuntu Gutsy (2007-10-20 AEST). I'll happily examine the database if you give me a pointer as to what to look for.
comment:4 Changed 16 years ago by
Status: | new → infoneeded_new |
---|
comment:5 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | infoneeded_new → closed |
Given we're releasing 0.21 here shortly, can you verify with that version and reopen if you can still reproduce?
comment:6 Changed 16 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → new |
Ok. Hardy is currently on revision 16174. I upgraded to that.
I think the comment above is correct: "Only thing I can think of is that it was a program table entry that is no longer present."
I can still reproduce it, by selecting a program that was regularly scheduled, but isn't currently scheduled. If I click on the program title link, I get the program listings page and a popup dialog saying "Warning:\nUnknown program." (Good).
If I click the "Activate" link, however, I get: The resulting page says "Fatal error: Call to a member function rec_override() on a non-object in /usr/share/mythtv/mythweb/modules/tv/upcoming.php on line 52".
If I click the "Don't Record" link, I get "Fatal error: Call to a member function rec_override() on a non-object in /usr/share/mythtv/mythweb/modules/tv/upcoming.php on line 48"
I would suggest that "Activate" and "Don't Record" buttons shouldn't be there in the first place. There should be a button allowing you do delete the schedule, though.
comment:8 Changed 16 years ago by
If it's not scheduled, how do you see it on the list of upcoming scheduled recordings?
comment:9 Changed 16 years ago by
I don't know, but I do. Would you like a screenshot or something? It's not a bookmarked page. I'm just visiting http://mythbox/mythweb/tv/list and then clicking on 'upcoming recordings' and there it is.
comment:10 Changed 16 years ago by
do you see it listed when you click on "recording schedules"? Also, is this 0.20 or svn trunk?
comment:11 Changed 16 years ago by
Yes, I see it in the "recording schedules" list:
Time Team 0 2 - ABC TV Victoria Default Autodetect Default Daily Default
I'm running the current Ubuntu Hardy version, which is 0.21.0~fixes16174-0ubuntu1 (ie svn revision 16174 from the 0.21 branch).
comment:12 Changed 16 years ago by
If it's in the "recording schedules" list, then it's definitely not "not scheduled". Perhaps you can attach a few screenshots so I can get a better idea what you're talking about.
comment:13 Changed 16 years ago by
Owner: | changed from xris to Rob Smith |
---|---|
Status: | new → accepted |
comment:14 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
I the lasted atrpms . 20.1-fixes I can't reproduce so either problem is fixed or the data I was using has changed.