- First commit to issue fork.
If you deleted the d_editor role on your site, the droopler_update_8134() will fail.
With a condition on $role object , it's perfect :)
function droopler_update_8134() {
$permission = 'access contextual links';
$role = Role::load('d_editor');
if (is_object($role)) // Test if this role exists
{
$role->grantPermission($permission)
->save();
$values['droopler__droopler_update_8134_1'] = $role->hasPermission($permission);
}
Drupal::service('d_update')
->checklist()
->saveProgress(['v3.1' => $values]);
}
Needs review
3.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.