@jurgenhaas,
Thank you for your consideration. Would it make sense to add the same code to
modules/contrib/eca_content_access/src/Plugin/Action/GrantAccess.php -> execute()
that exists in modules/contrib/content_access/src/Form/ContentAccessPageForm.php -> submitForm()
$this->grantStorage->write($node, $grants); // this line already exists, what follows is that would be added
foreach (Cache::getBins() as $cache_backend) {
$cache_backend->deleteAll();
}
// xxxx
// route: node.configure_rebuild_confirm:
// path: '/admin/reports/status/rebuild'.
$this->messenger()->addMessage($this->t('Your changes have been saved. You may have to rebuild permissions for your changes to take effect.',
[':rebuild' => Url::fromRoute('node.configure_rebuild_confirm')->toString()]));
hedrickbt β created an issue.
I am seeing the same issue. We have not switched to a composer based install yet. We still download the .tar.gz module files and extract.
If installing this way is not supported why are the modules provided on drupal.org?
Error: Class 'Mtownsend\XmlToArray\XmlToArray' not found in Drupal\eca_modeller_bpmn\ModellerBpmnBase->prepareForUpdate() (line 85 of /.../drupal/rm/sites/all/modules/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php) @backtrace_string.
I installed ECA by using the downloaded tar.gz files of the modules
eca-1.1.2.tar.gz
eca_cm-1.0.5.tar.gz
bpmn_io-1.1.1.tar.gz
Drupal version 9.4.8
I am seeing the following.
Error: Class 'Mtownsend\XmlToArray\XmlToArray' not found in Drupal\eca_modeller_bpmn\ModellerBpmnBase->prepareForUpdate() (line 85 of /.../drupal/rm/sites/all/modules/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php) @backtrace_string.
I installed ECA by using the downloaded tar.gz files of the modules
eca-1.1.2.tar.gz
eca_cm-1.0.5.tar.gz
bpmn_io-1.1.1.tar.gz
Drupal version 9.4.8