Commit 7daa1dcb authored by Nikolay Lobachev's avatar Nikolay Lobachev Committed by Kristiaan Van den Eynde
Browse files

Issue #3311949 by LOBsTerr, kristiaanvandeneynde: GroupRoleStorage doesn't call parent doPreSave

parent 08424cfd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ class GroupRoleScopeValidator extends ConstraintValidator implements ContainerIn

      if (!empty($existing_pairs)) {
        // If we found ourselves, we can ignore this.
        if (!$group_role->isNew() && count($existing_pairs) === 1 && reset($existing_pairs) == $group_role->id()) {
        if (!$group_role->isNew() && count($existing_pairs) === 1 && reset($existing_pairs) == $group_role->getOriginalId()) {
          return;
        }