Bug 330720

Summary: kded4 - powerdevil - dbus - missing xmlns in introspect xml markup
Product: [Unmaintained] solid Reporter: mberchtold
Component: networkmanagementAssignee: Will Stephenson <wstephenson>
Status: RESOLVED UNMAINTAINED    
Severity: minor CC: jgrulich, jr, kde, lamarque
Priority: NOR    
Version: 4.11.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mberchtold 2014-02-03 22:39:07 UTC
The dbus introspect of:
destination/bus: org.freedesktop.Policy.Power
objectPath: /org/freedesktop/NetworkManager/SecretAgent
returns the xml markup where the xml namespace definition for the tp namespace is missing.

Reproducible: Always

Steps to Reproduce:
1. dbus-send --system -type=method_call --print-reply
      --dest=org.freedesktop.Policy.Power
      /org/freedesktop/NetworkManager/SecretAgent
      org.freedesktop.DBus.Introspectable.Introspect
2.
3.
Actual Results:  
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <interface name="org.freedesktop.NetworkManager.SecretAgent">
    <tp:docstring>
            .....
        </tp:docstring>

Expected Results:  
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
>
<node 
xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
Comment 1 Kai Uwe Broulik 2015-02-17 15:57:16 UTC
That is not a powermanagement issue, re-assigning.
Comment 2 Jonathan Riddell 2015-03-11 19:15:25 UTC
This bug is reported on libsolid which is the kdelibs4 version of the solid library.  It is now in maintenance mode.  If you think it should still be fixed in the KDE Frameworks 5 version of solid please move it to or report a bug on plasma-nm
Comment 3 Lamarque V. Souza 2016-05-28 22:24:17 UTC
I cannot reproduce this in Plasma NM 5.6.90 (Frameworks 5 version). I looked at the xml file used to create that interface and it contains the tp:docstring namespace, so it should be working, although I was not able to use the dbus-send command to retrieve the introspection. Reopen if you think this is still a problem.