amitaibu/og

Can't save an existing OgRole

Nyliandis opened this issue · 2 comments

Hi,
I try to update an existing OgRole but when i save the entity this error is throw :

Error: Class 'Drupal\og\Exception\OgRoleException' not found in /modules/contrib/og/src/Entity/OgRole.php on line 258, referer: admin/config/group/roles/node/structure/manage/node-bundle-member

After ivestigate, i think the save() method try to change the id, although i change it or no.

Have a good day.

@Nyliandis thanks. Can you provide steps to reproduce. or even better - a PR to fix it? :)

Should be fixed here -- #217 (comment)