maemo.org Bugzilla – Full Text Bug Listing
|Summary:||Bluetooth DBUS UI dialogs - wrong args in the example code|
|Product:||[Maemo Official Platform] Connectivity||Reporter:||Valério Valério <vdv100>|
|Status:||RESOLVED FIXED||QA Contact:||bluetooth-bugs|
SOFTWARE VERSION: ND STEPS TO REPRODUCE THE PROBLEM: Go to: http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components/Maemo_Connectivity#Bluetooth_DBUS_UI_dialogs EXPECTED OUTCOME: The the second d-bus example should be: dbus-send --system --print-reply \ --dest=com.nokia.bt_ui /com/nokia/bt_ui com.nokia.bt_ui.show_search_dlg \ string: string: array:string: string: ACTUAL OUTCOME: dbus-send -system -print-reply \ -dest=com.nokia.bt_ui /com/nokia/bt_ui com.nokia.bt_ui.show_search_dlg \ string: string: array:string: boolean:true The last argument of the d-bus call should be a String. From the code comments/doc: "bonding: DBUS_TYPE_STRING" This affects the diablo documentation and the example inside "libconbtui_1.4.1" package as well. Also in both d-bus examples is used only one "-" the d-bus call won't work that way, should be "--" as exemplified above. REPRODUCIBILITY: always EXTRA SOFTWARE INSTALLED: OTHER COMMENTS: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14
And now I wonder whether I can just quickly edit the wiki and fix this, or if it is not the primary source and an edit would get overwritten later on. Dave?
You can edit the wiki, changes made in the wiki will be integrated into the official sources. Ideally, if any edits are needed before integrating, they will also get made in the wiki. Dave.
Please note that this bug also affects the example code inside the "libconbtui_1.4.1" package.
This has been fixed in package libconbtui 1.4.2+0m5 which is part of the internal build version 2.2009.47-5 (Note that 2009 is the year and the number after is the week.) Any public update released with or after this build version will include the fix. Please verify that the new version fixes the bug by marking this bug report as VERIFIED after the public update has been released and if you have some time.
The problem reported here should be fixed in the update released today for public: The Maemo5 update version 2.2009.51-1 (also called "PR1.1" sometimes). Please leave a comment if the problem is not fixed for you in this update version.