in og_entity_update() we should try to map the roles according to their name.

Work is on branch 2153555

Comments

amitaibu’s picture

Status: Active » Needs review
StatusFileSize
new1.97 KB

Still needs simpleTest

amitaibu’s picture

Issue summary: View changes
amitaibu’s picture

StatusFileSize
new1.94 KB

Feature should be on by default.

The last submitted patch, 1: 2153555-og-role-maintain-on-revert-1.patch, failed testing.

amitaibu’s picture

@Nofar tests should be added in OgDefaultAccessFieldTestCase::testOgDefaultAccessField. Test should cover the case when variable is TRUE and FALSE.

NofarG’s picture

StatusFileSize
new1.89 KB
new867 bytes

The "continue;" makes it skip the og_role_delete() .
Here's a new patch.

Status: Needs review » Needs work

The last submitted patch, 6: innerdiff.diff, failed testing.

amitaibu’s picture

Status: Needs work » Needs review
StatusFileSize
new3.72 KB
new1.83 KB

Patch adds tests.

amitaibu’s picture

Status: Needs review » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.