Drupal Association members fund grants that make connections all over the world.
We got the following notice while reverting og permissions:
Notice: Undefined property: stdClass::$name in og_role_save() (line 2472 of ...og/og.module).
It turned out that in the og_features_permission.features file at line 134, the parameter for the og_role_save() function is wrong.
Because the $details variable contains all the roles for a given permission (names only with key "roles"), while the og_role_save wants a role object with ->name, ->gid, ->group_type, and ->group_bundle properties to be able to add the role, and should only get the role that has to be added (so the one that is not in the system already, and not all of them anyways)
PASSED: [[SimpleTest]]: [MySQL] 723 pass(es). View