Bug 396741

Summary: Y2Function does not provide the name space name
Product: [openSUSE] openSUSE 11.1 Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P4 - Low    
Version: Alpha 0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ladislav Slezák 2008-06-03 14:55:01 UTC
While debugging bug bnc#395328 I found that it's not possible to log also the name space of the registered callback function.

The log made by the pkg-bindings looks like this:
2008-06-03 13:38:50 <0> muffin(28315) [Pkg] Callbacks.YCP.cc(evaluate):234 Evaluating callback (registered funciton: MediaChange)

It's not obvious which function was called (there are SlideshowCallbacks::MediaChange() and PackageCallbacks::MediaChange functions defined).

Class Y2Function provides only name() method which returns name of the function.
Comment 1 Martin Vidner 2008-06-04 13:14:13 UTC
Indeed. It seems that most of the implementations do know the namespace, so I will add it to the interface and adapt its users.
Comment 2 Martin Vidner 2009-12-10 13:19:37 UTC
(Closing bugs that are unlikely to ever get fixed)