GNOME Bugzilla – Bug 695115
dbus: Only return one object path list from Collection.SearchItems()
Last modified: 2013-03-16 09:53:16 UTC
gnome-keyring incorrectly returns two arrays from the SearchItems() method of the Collection interface.
Created attachment 237953 [details] [review] dbus: Only return one object path list from Collection.SearchItems() In the Secret Service dbus interface the SearchItems method of the Collection interface only returns one list of object paths, unlike SearchItems on the Service interface which splits its return values by locked and unlocked items. Add tests to verify this behavior.
Dmitry, could you review the attached patch? If you don't have time, let me know, and I'll see if I can find someone else to do so.
Review of attachment 237953 [details] [review]: Looks good, thank you!
Attachment 237953 [details] pushed as ddb87cc - dbus: Only return one object path list from Collection.SearchItems()
Created attachment 238504 [details] [review] Update introspection to match the new SearchItems behavior
Stef, can you please look at the introspection patch above? I've forgot "dbus:" in the commit message, hopefully it's not critical (or you can add it while committing).
Comment on attachment 238504 [details] [review] Update introspection to match the new SearchItems behavior Thanks pushed. Let me know if there's any patches you'd like backported to the gnome-3-6 branch.
> Thanks pushed. Thank you! > Let me know if there's any patches you'd like backported to the gnome-3-6 branch. I was asked to ask you (:P) to backport both patches from this bug and one from bug 690765.
Done
Not really, I meant *both* patches from this bug — including your patch in comment 1 :)