- Issue created by @project update bot
- last update
about 1 year ago 7 pass This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module โ these changes make this module compatible with Drupal 11! ๐
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot โ to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-127659These packages were used to generate the fixes:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.9
- palantirnet/drupal-rector: 0.20.1
- last update
about 1 year ago 7 pass - Status changed to RTBC
about 1 year ago 6:20am 16 April 2024 - ๐ฎ๐ณIndia Vishal Choudhary Dharmshala
I've tested this module with the specified branch on the "project-update-bot-only" project and verified its functionality within the Drupal 11 environment. It's performing as expected. Kindly mark it as "Ready to be committed" (RTBC).
- Status changed to Needs work
6 months ago 7:09pm 8 November 2024 - ๐บ๐ธUnited States byrond
Drupal 11's core QueueFactory now uses a service locator instead of passing the entire container, so when a queue is overridden in $settings to use "queue_unique.database", the following error is produced:
Service "queue_unique.database" not found: the container inside "Drupal\Core\Queue\QueueFactory" is a smaller service locator that only knows about the "queue.database" service.
See https://www.drupal.org/project/drupal/issues/3416357 ๐ Convert QueueFactory to use a service locator Fixed
How can this module provide its queue_unique.database service so it is available to the QueueFactory? Does the "queue" service need to be decorated or overridden?
It looks like "UniqueQueueDatabaseFactory" needs to implement "Drupal\Core\Queue\QueueFactoryInterface", but that alone did not solve this issue.
See https://www.drupal.org/node/3417034 โ - ๐บ๐ธUnited States byrond
The settings.php method to set the queue backend was deprecated in 10.1:
https://www.drupal.org/node/3338022 โThe documentation should be updated to demonstrate adding the queue_service to the QueueWorker annotation.
- ๐บ๐ธUnited States byrond
Setting
autoconfigure: true
fixed the service discovery issue for us. - ๐ซ๐ทFrance mably
Successfully tested on Drupal 11.0.6.
Could we have this merged?
- First commit to issue fork.
- ๐ซ๐ทFrance dydave
Dropped support for versions below 10.2, in which was introduced: Symfony autoconfiguration is available for event subscribers โ .
- Status changed to RTBC
2 months ago 10:03am 25 February 2025 - ๐ซ๐ทFrance MaxPah
Hello !
Thanks for the commits, when do you plan to include this in a new release? - ๐ช๐ธSpain eduardo morales alberti Spain, ๐ช๐บ
Any news about a new release?
- ๐ซ๐ทFrance dydave
Yesterday, I contacted project Maintainer Mateu Aguilรณ Bosch (e0ipso) โ ...
Let's see if we could get a reply.Otherwise, I'll try contacting the other maintainer.
Thanks!
- ๐ซ๐ทFrance andypost
Looking at changes I think we need new major (4.x) version
- ๐ซ๐ทFrance dydave
Thanks @andypost!
Any chance you could help us create the new branch and clarify what would be needed to get this issue moving?
It is currently still blocking the upgrade for projects.
Any advice, suggestions or feedback would be greatly appreciated.
Thanks in advance! -
andypost โ
committed 227b100e on 4.x authored by
byrond โ
Issue #3434071 by project update bot, byrond, dydave, andypost:...
-
andypost โ
committed 227b100e on 4.x authored by
byrond โ
- ๐ซ๐ทFrance andypost
Thank you all!
Published https://www.drupal.org/project/queue_unique/releases/4.0.0 โ - ๐ซ๐ทFrance dydave
Thanks a lot @andypost! ๐
Any chance you could also take a look at the RTBC issues and the Gitlab CI one ?
- ๐ Fix the errors/warnings reported by Php_CodeSniffer Needs review
- ๐ Add Queue UI integration to 3.x Needs review
- ๐ Automated testing: Configure GitLab CI Needs review
They should be quick wins really ๐
Thanks in advance! - Status changed to Fixed
7 days ago 10:34pm 2 May 2025 Automatically closed - issue fixed for 2 weeks with no activity.