Public bug reported: Tried to use oobs_groups_config_get_groups () to get the list of groups available on the system and no groups were returned.
Calling oobs_users_config_get_users () on its own also returns no users. get_groups has to be called before get_users works and get_users has to be called before get_groups works. I suspect this is because of line 306 in oobs-groupsconfig.c being the following: oobs_object_ensure_update (oobs_users_config_get ()); Should that not be the following? oobs_object_ensure_update (oobs_groups_config_get ()); Line 428 in oobs-usersconfig.c is the reversed version of the same line. ** Affects: liboobs (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to liboobs in Ubuntu. https://bugs.launchpad.net/bugs/1660181 Title: Have to fetch users before getting groups and vice versa Status in liboobs package in Ubuntu: New Bug description: Tried to use oobs_groups_config_get_groups () to get the list of groups available on the system and no groups were returned. Calling oobs_users_config_get_users () on its own also returns no users. get_groups has to be called before get_users works and get_users has to be called before get_groups works. I suspect this is because of line 306 in oobs-groupsconfig.c being the following: oobs_object_ensure_update (oobs_users_config_get ()); Should that not be the following? oobs_object_ensure_update (oobs_groups_config_get ()); Line 428 in oobs-usersconfig.c is the reversed version of the same line. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/liboobs/+bug/1660181/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp