Hi @shalini_jha
If you can modify a bit your MR, please add the following code to filter with only the necessary informations :
$view = \Drupal\views\Views::getView('status_dashboard');
$view->setExposedInput(['has_security_updates' => 1]);
$dashboard = $view->preview('page');
if (count($view->result) > 0) {
$params['message'] = \Drupal::service('renderer')->renderPlain($dashboard);
}
else {
$params['message'] = t('No updates available.');
}
A other approach for email notification will be to :
- duplicate "page" view to "mail_page" view for example
- remove filter by name and add filter to core security and features
- use the config to filter the view with preferences
But i think it needs an other ticket.
Anyway, Thanks for your work :)
I have the same issue on Drupal 10.2.2, with Docker, PHP 8.2.14 and XDebug 3.3.1 enabled with default configuration.
If I force to disable XDebug, the problem was solved :
[xdebug]
xdebug.mode=off
It works with the good xdebug config for my env :
[xdebug]
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.discover_client_host=true
xdebug.remote_handler=dbgp
xdebug.max_nesting_level=1500
xdebug.client_host=host.docker.internal
And without any of the two solutions above applied, the MR on 10.2.x branch solved also the problem : https://git.drupalcode.org/project/drupal/-/merge_requests/5774
- composer require cweagans/composer-patches
- add patch on extra :
"extra": {
"patches": {
"drupal/core": {
"Transaction autocommit during shutdown relies on unreliable object destruction order": "https://git.drupalcode.org/project/drupal/-/merge_requests/5774.patch"
}
},
Hi,
Is there an update scheduled to implement the MR ?
I have the same issue and the MR fix this problem.
Bests regards
Fabien V.
Hello,
I am interesting by an update for Drupal (8, 9) 10.
Any news about this porting ?
Hi @shalini_jha
The fix works :)
May be add to the description of this module to use a Html messaging module to have a better rendering of emails (for example https://www.drupal.org/project/symfony_mailer → ).
fvorillion → created an issue.