| Comment | File | Size | Author |
|---|---|---|---|
| #45 | admin_toolbar-3493798.patch | 2.09 KB | yonas.legesse |
| #8 | screenshot-contribuciones_ddev_site-2024_12_20-16_00_32.png | 138.77 KB | alyaj2a |
| #6 | compatibility-issue-update.3493798.patch | 1.44 KB | niharika.s |
| #4 | admin_toolbar_3493798_4.patch | 1.32 KB | paul_serval |
| #3 | admin_toolbar-3275558.patch | 1.74 KB | leroux_david |
Issue fork admin_toolbar-3493798
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
leroux_david commentedPatch to check for existing route before adding it to the menu.
Comment #3
leroux_david commentedComment #4
paul_serval commentedPatch reroll for 3.5.1
Comment #5
niharika.s commentedComment #6
niharika.s commentedI’ve updated ExtraLinks.php to check for the update.theme_install route before adding it, resolving the RouteNotFoundException error in Drupal 11.0.x. Please review the changes.
Comment #7
sassafrass commentedI am experiencing this issue with Drupal 10.3 and 10.4, with Admin Toolbar 3.5.1.
Comment #8
alyaj2a commentedIn my case, I have Admin Toolbar Tools version 3.0.5 and Drupal 11.0.1, but I don't have this problem.
Comment #9
leducdubleuet commentedI can confirm the patch in comment #4 called admin_toolbar_3493798_4.patch is working well for version 3.5.1 of this module under Drupal 10.4.0.
And the one in comment #6 called compatibility-issue-update.3493798.patch does not fix the issue under Drupal 10.4.0.
I put this back to needs work since the right approach needs to be determined.
Thank you very much!
Comment #10
nikit commentedConfirming that #4 work for 3.5.1 Drupal 10.4.0.
Comment #11
joelseguinI'm confirming that #4 worked as well (running D10.4.0 and Admin Toolbar 3.5.1). No luck with #6.
Comment #12
rjw commentedAlso confirming that #4 work for Admin Toolbar 3.5.1 and Drupal 10.4.0.
Comment #13
Anonymous (not verified) commentedConfirming: #4 work for Admin Toolbar 3.5.1 and Drupal 10.4.0.
#6 didnt work for me
Comment #16
shivam_tiwari commentedAccording to the right way, we are using MRs. So I created MR 110. Need to work here for resolve test failure issue.
Comment #17
sk_10 commentedThe #4 is working for Admin Toolbar 3.5.1 and Drupal 10.4.0. #6 is not working. When navigating to `/admin/structure/menu/manage/admin the same error was coming. I followed these steps:
Post drupal core update 10.4.0, few of the admin navigation menus were missing, these were migrated ones might be due to that, readding them fixed it.
Comment #18
aangel commentedFor my composer-based install, I think in my situation there was something lingering (a block from admin_toolbar_tools? see the backtrace below) that referenced the update.links.action.yml file because I did everything I could think of before the final step below. (I had restored the Upgrade Manager module thinking that would help but it turned out to make things worse.)
In any case, I:
It wasn't until I completely erased the contents of update.links.action.yml that that I could pull up /admin/modules—even though the module was uninstalled (but present on the filesystem).
Perhaps this will help someone who painted themselves into the same corner I did.
Below is the backtrace from the failure in RouteProvider.php ("Route "update.module_install" does not exist."):
Comment #19
rolodmonkey commentedComment #20
lmoeniI can also confirm that patch #4 and the MR solves the problem with Drupal 10.4.1 and Admin Toolbar 3.5.1.
Comment #21
martygraphie commentedHi,
Patch #4 works fine !
Thanks !
Comment #22
adrianm6254 commentedI was able to apply #4 successfully.
Comment #23
ankitjhakal commentedComment #24
tonytheferg commentedpatch 4 worked as well
Comment #25
solimanharkas commentedI can reproduce the issue and Patch 4 fixed the issue.
Comment #26
anybodyI can confirm this issue and think we should set the priority to major, as it results in a WSOD for site managers.
Comment #27
ressaI agree @anybody, it would be great to get this fixed ... To get Admin Toolbar commits done faster, you could consider becoming co-maintainer?
Reformatting the Issue Summary, since all mark up was missing.
Comment #28
ressaAnd by the way, the failing test for this MR is a false positive, it's the dev-tests themselves that are failing, see #3494654: FIXED broken tests.
It looks like they have been failing since 13 November 2024, if you look under https://git.drupalcode.org/project/admin_toolbar/-/pipelines.
Comment #29
ressaComment #30
ressaCurrent MR110 based on the patch from #4 seems to work for a lot of users, so changing status.
Comment #32
dydave commentedThanks a lot everyone for the great help and @ressa in particular for pushing forward this issue.
I haven't had the time to test this myself, but looking at all the comments above, it seemed safe enough to assume these changes have been tested successfully with D9.5+, D10 and D11, by many users.
I've taken a quick look at MR!110 and it looked good, so I went ahead and got it merged above at #31.
Marking this issue Fixed for now.
Thanks in advance for your comments, replies and feedback!
Cheers!
Comment #33
anybody@dydave thanks! Could you maybe tag a new release to get the WSOD away on production? :)
Comment #34
dydave commentedThanks @anybody for the prompt and positive feedback!
@ressa and @anybody:
Any other tickets in the issue queue that should be processed before creating a new release?
I've taken a quick look yesterday, but couldn't find anything significant or RTBC: it's mostly feature requests or work in progress, still, at this point.
Please let me know if you would see anything else that should be addressed in priority, I would be glad to take a look before creating a new release.
Thanks in advance!
Comment #35
anybodyNo I think one could discuss the other major ones, but better release often :)
This is most important to fix.
Comment #36
dydave commentedThanks @anybody!
Let's see if @ressa or anyone else have anything else they would like to see addressed in priority ....
Otherwise, I will most likely use
drupalorg-cli, at the end of the day to generate the release notes and create a new release.Thanks again!
Comment #37
ressaThanks for looking at this @anybody and @dydave. I don't have any other issues that I think need to be addressed right now, so feel free to go ahead and tag a release. And I do agree that releasing small and often is usually a good approach :)
Comment #38
dydave commentedSounds good! Thanks everyone!
Not to be included in the release, but, while I've got some attention, quick question:
Would anybody know why the CSPELL checks are failing, see last build:
https://git.drupalcode.org/project/admin_toolbar/-/pipelines/426926
CSPELL job: https://git.drupalcode.org/project/admin_toolbar/-/jobs/4387582
I thought this had been addressed in #3463378: GitlabCI: Fix CSPELL validation errors and we've got the file
.cspell-project-words.txtwhich seems to be correct in the repo:https://git.drupalcode.org/project/admin_toolbar/-/blob/3.x/.cspell-proj...
I haven't looked any further than that, but would anybody be aware of any changes on the infras/CI side?
I don't understand why the file is not picked up by the job in the build....
It's really just a side note... We'll most likely have to create specific tickets to look into the remaining build warnings.
But, if anyone has any idea or advice, it would be greatly appreciated.
Otherwise: no problem for the release, it will be taken care of at the end of the day.
Thanks everyone!
Comment #39
dydave commentedAs requested: the new release admin_toolbar-3.5.2 was created.
Feel free to let us know if you encounter any issues or have any questions, we would greatly appreciate your feedback.
Thanks again everyone for the great help!
Comment #40
anybodyThank you @dydave!! :)
Comment #41
ressaAwesome, thanks @dydave!
Comment #43
stephenplatz commentedI'm using admin_toolbar 3.6.1 and Drupal 10.5.1 and this issue is still affecting my sites after upgrading.
Comment #44
dydave commentedThanks a lot Stephen,
Indeed, I've been wondering the same thing here: #3532010-21: D11.2: update.theme_update and update.module_update routes no more exist and found yesterday the change record:
The feature to install a new extension from a URL via the Drupal UI has been removed
in which the routes have been removed, introduced in 10.4.x and 11.x.
In other words, we should be comparing with 10.4 and not 11.
We will most likely make this correction in the related issue.
Thanks again for reporting back.
Comment #45
yonas.legesse commentedIn the meantime, here is a working patch that adds the conditions to the rest of the routes: update.module_update and update.theme_update