Currently when the dbus call fails, the library consumers have no way to handle the error. This makes the library rather useless for any application that wants to provide a decent level of user experience, i.e. not swallowing errors.
Needed by: https://bugzilla.gnome.org/show_bug.cgi?id=788396
Which API calls have this problem?
(In reply to Robert Ancell from comment #2)
> Which API calls have this problem?
Each of the following methods on interface `org.freedesktop.Accounts.User` can fail with either `org.freedesktop.Accounts.Error.PermissionDenied` or `org.freedesktop.Accounts.Error.Failed`.
However, the libaccountsservice functions for those do methods intentionally discard the errors – just grep for “Note this function is synchronous and ignores errors.”
- act_uset_set_password_hint // there is a typo in the doc comment btw
honestly, at this point rather than improve the library api, i'd like to deprecate it, and encourage gdbuscodegen instead. we should probably improve the daemon implementation to export objectmanager interface too
(In reply to Ray Strode [halfline] from comment #4)
> honestly, at this point rather than improve the library api, i'd like to
> deprecate it, and encourage gdbuscodegen instead.
Is there an issue for that?
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/accountsservice/accountsservice/issues/7.