Project

General

Profile

Bug #1345

cPluginExtrecmenu::Service must only return true if it successfully handles a call

Added by lhanisch over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/17/2013
Due date:
% Done:

100%


Description

Patch is attached.
No "Data" is not a sufficient condition to return true. The id of the service call must always match a known name.

service.patch Magnifier (628 Bytes) lhanisch, 04/17/2013 07:14 PM

Associated revisions

Revision dfd599b6
Added by amair over 8 years ago

cPluginExtrecmenu::Service must only return true if it successfully handles a call (closes #1345).

History

#1 Updated by amair over 8 years ago

  • Status changed from New to Feedback
  • Assignee set to amair

Have you any case where this matters, so that I can test it?

#2 Updated by lhanisch over 8 years ago

We stumbled upon this behaviour in this thread:
[[http://www.vdr-portal.de/board16-video-disk-recorder/board99-distributionen/board96-yavdr/p1139989-/#post1139989]]

yaepghd called

pRemoteTimers = cPluginManager::CallFirstService("RemoteTimers::RefreshTimers-v1.0", NULL);

to get the pointer to the remotetimers plugin (which is wrong btw., but that's another story) and got the pointer to extrecmenu, because it was loaded before remotetimers.

#3 Updated by amair over 8 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF