- Issue created by @siriussolutions
- πΊπ¦Ukraine UsingSession
@siriussolutions Thanks for the report. I will follow this issue, as soon as it is clear on 10.3 upgrade now missing status-message theme suggestions π 10.3 upgrade now missing status-message theme suggestions Postponed I will make changes
- πΊπ¦Ukraine UsingSession
Temporary fix. It is not known whether it will be added to the release. I am waiting for the 10.3 upgrade now missing status-message theme suggestions π 10.3 upgrade now missing status-message theme suggestions Postponed issue to be resolved.
- Status changed to Needs review
6 months ago 5:20pm 1 July 2024 - Assigned to UsingSession
- πͺπΈSpain ady1503
Hello.
The patch doesn't work.
Before the patch all core notifications worked, but custom notifications do not work due to the core 10.3.1 issue.
After the patch no notification works.
Thanks for the work, I will wait for the solution to the core 10.3.1 issue and activate your module again.
- πͺπΈSpain ady1503
Yes of course. I have used the bigpipe patch and it doesn't work either.
- πΊπ¦Ukraine UsingSession
@ady1503 Just in case, did not use these two patches together?
- πͺπΈSpain ady1503
Yes, I have done tests together and separately. And I always emptied the Drupal cache.
- πͺπΈSpain ady1503
I say again without the izi and bigpipe patch, drupal core notifications work perfectly.
I have custom modules with \Drupal::messenger()->addStatus(t()) and they worked fine until the last core update.
Nothing works with the patches.
- πΊπ¦Ukraine UsingSession
@ady1503 Please try my " 3458283-izi-messag-stopped-working-with-drupal-10.3.patch β " patch only.
It is not necessary to use the patch from the 10.3 upgrade now missing status-message theme suggestions π 10.3 upgrade now missing status-message theme suggestions Postponed issue - πͺπΈSpain ady1503
I have done tests with patches together and separately. And I always emptied the Drupal cache.
Nothing works with the patches.
- πΊπ¦Ukraine UsingSession
@ady1503 Oh, okay, sorry. We will monitor the situation, I also ask you to remain active in this issue, as soon as I find a solution I will provide a patch.
Thanks for using my module :-) - πͺπΈSpain ady1503
Hello.
I inform you that your module works perfectly without any patch.
I am using olivero and gin drupal themes, core notifications works well. But:
For my custom code to work, type:
\Drupal::messenger()->addStatus(t('Dear %user, Welcome to our %site',['%user' => 'admin', '%site' => 'Drupal Learn']));
\Drupal::messenger()->addStatus(Markup::create('Duplicate Markup / string.'), TRUE);
exit(); <---
I have added only the exit() function, stop script.
I know it is not a correct solution, but in my functionality it works well for me.
I don't know why when adding exit(), after the notification functions your module works, and not just yours. But the others too. I have done tests. Without exit(), custom notifications do not work. None, but with exit() at the end of the notifications function it does work.
I hope it is resolved correctly.
Thanks for your module.