Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.16.14

Bug #2206 Admin-Perm-Cont.-DB-Complex GETGROUPS does not report multiple subgroups
Submitted: 2004-08-24 19:16 UTC
From: liveuser at jackanova dot net Assigned: dufuz
Status: Closed Package: LiveUser
PHP Version: 4.3.8 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-08-24 19:16 UTC] liveuser at jackanova dot net
Description: ------------ getgroups in Admin_Perm_Container_DB_Complex gets an array with all groups, and, for each group, its properties and subgroup(s). BUT currently, only one subgroup is present. Apparently this function has been fixed earlier this year, but not completely (?)... Reproduce code: --------------- $objRightsAdminPerm = new LiveUser_Admin_Perm_Container_DB_Complex($lu_dsn, $scms_LUOptions); // Assign Current Language $objRightsAdminPerm->setCurrentLanguage('EN'); $objRightsAdminPerm->setCurrentApplication(1); // Get all the groups the logged user is a member of $groups = $objRightsAdminPerm->getGroups();

Comments

 [2004-10-08 10:28 UTC] dufuz
You mean only one level, i.e. you don't get subgroups of the subgroups ;)
 [2004-10-09 09:48 UTC] dufuz
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. This should be fixed now, also I optimized the getGroups for the complex containers. So just look out for 0.13.2 that should be released in just matter of days, if you still get any issues then, just reopen this bug report and I'll have a look again! :)