Ticket #522 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

mdbus2 variant introspection issue, mdbus works

Reported by: max_posedon Owned by: mickey
Priority: major Milestone:
Component: cornucopia/general Version:
Keywords: Cc:

Description

max_posedon@max_posedon akonadi-fsopimd % mdbus org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts/18 org.freesmartphone.PIM.Contact.GetContent
{   'Name': 'm0use',
    'Path': '/org/freesmartphone/PIM/Contacts/1',
    'Phone': '+375291036983'}

but

mdbus2 org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts/18 org.freesmartphone.PIM.Contact.GetContent
( { "Name": "m0use", "Path": "/org/freesmartphone/PIM/Contacts/1",  } )
mdbus2 org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts/18  org.freedesktop.DBus.Introspectable.Introspect

( "<!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.freesmartphone.PIM.Contact">                                                                                                          
    <method name="GetContent">                                                                                                                               
      <annotation value="true" name="org.freedesktop.DBus.GLib.Async"/>                                                                                      
      <annotation value="QVariantMap" name="com.trolltech.QtDBus.QtTypeName.Out0"/>                                                                          
      <arg direction="out" type="a{sv}" name="contact_data"/>                                                                                                
    </method>
...

Note: Don't be confused, this isn't frameworkd's opimd, its my own playground, but I hope info from introspect enough.

Change History

Changed 5 months ago by max_posedon

  • status changed from new to closed
  • resolution set to fixed

http://git.freesmartphone.org/?p=cornucopia.git;a=commit;h=df6a5c9a9d99c75dee6bbdcdc39081e810cf4d10

max_posedon@max_posedon akonadi-fsopimd % mdbus2 org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts/18 org.freesmartphone.PIM.Contact.GetContent
( { "Name": "m0use", "Path": "/org/freesmartphone/PIM/Contacts/1", "Phone": "+375291036983" } )
Note: See TracTickets for help on using tickets.