Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2013 at 08:01 UTC
Updated:
3 Jun 2015 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
swentel commentedAre you sure, because that is in the confirm buildForm method, not in the submit. None the less, that path is wrong indeed.
Comment #2
joachim commentedI think URLs should now be generated from route names.
A quick grep for use of this class shows code like this:
Comment #3
drunken monkeyRan into the same problem just now, the attached patch seems to be the right way to fix it.
@swentel: I don't understand it either, the code doesn't look like it, but this is definitely where the problem is coming from. And without the patch, uninstalling also didn't work (at least for me, though that might have been a fluke).
Comment #4
willzyx commentedI think it should be
as is done in
ModulesListConfirmForm::buildForm()Comment #5
willzyx commentedAdded test and update IS
Comment #6
willzyx commentedUpdate IS
Comment #7
joachim commentedThat doesn't seem related to me.
Comment #8
willzyx commentedwhy do you think is not related? we should test that, by accessing directly to the confirm page, you will be redirected properly
Comment #9
joachim commentedAh ok fair enough. That's a property of confirm forms I wasn't aware of.
Comment #10
aburrows commentedThis can be RTBC now #5 works, just tested by creating sub directory and moving site into that directory. Downloaded token 8.x and installed then uninstalled and returns user to modules page
Comment #12
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 487de77 and pushed to 8.0.x. Thanks!