Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #521 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

mdbus2 can't introspect opimd org.fso.pim.contact, mdbus could

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

Description

root@om-gta02 /usr/bin $ mdbus -s org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts/1
[METHOD]    org.freedesktop.DBus.Introspectable.Introspect()
[METHOD]    org.freesmartphone.PIM.Contact.Delete()
[METHOD]    org.freesmartphone.PIM.Contact.GetContent()
[METHOD]    org.freesmartphone.PIM.Contact.GetMultipleFields( s:field_list )
[METHOD]    org.freesmartphone.PIM.Contact.GetUsedBackends()
[METHOD]    org.freesmartphone.PIM.Contact.Update( a{sv}:data )
[SIGNAL]    org.freesmartphone.PIM.Contact.ContactDeleted()
[SIGNAL]    org.freesmartphone.PIM.Contact.ContactUpdated( a{sv}:data )
[METHOD]    org.freesmartphone.PIM.Fields.AddField( s:name, s:type )
[METHOD]    org.freesmartphone.PIM.Fields.DeleteField( s:name )
[METHOD]    org.freesmartphone.PIM.Fields.GetType( s:name )
[METHOD]    org.freesmartphone.PIM.Fields.ListFields()
[METHOD]    org.freesmartphone.PIM.Fields.ListFieldsWithType( s:type )
[METHOD]    org.freesmartphone.PIM.Contacts.Add( a{sv}:entry_data )
[METHOD]    org.freesmartphone.PIM.Contacts.GetSingleEntrySingleField( a{sv}:query, s:field_name )
[METHOD]    org.freesmartphone.PIM.Contacts.Query( a{sv}:query )
[SIGNAL]    org.freesmartphone.PIM.Contacts.DeletedContact( s:path )
[SIGNAL]    org.freesmartphone.PIM.Contacts.NewContact( s:path )
[SIGNAL]    org.freesmartphone.PIM.Contacts.UpdatedContact( s:path, a{sv}:data )

but

root@om-gta02 ~ $ mdbus2 -s org.freesmartphone.opimd /org/freesmartphone/PIM/Contacts/1
[ERR]: Unknown object path /org/freesmartphone/PIM/Contacts/1 for org.freesmartphone.opimd

Change History

comment:1 Changed 3 years ago by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin

comment:2 Changed 3 years ago by hrw

  • Component changed from cornucopia/general to cornucopia/mdbus2

moving to mdbus2 component

comment:3 Changed 3 years ago by mickey

  • Status changed from new to in_testing

commit 32dc685975221648a5ad523a110016088514b4d9 Author: Michael 'Mickey' Lauer <mickey@…> Date: Sun Apr 18 11:55:25 2010 +0200

mdbus2: validate bus names and object paths rather than always introspecting.

This should improve performance, increase compliance with broken servers, and add support for servers using fallback object paths. Closes FSO #521 and #530

comment:4 Changed 3 years ago by PaulFertser

  • Status changed from in_testing to closed
  • Resolution set to fixed

Of course it works now, tested :)

Note: See TracTickets for help on using tickets.