Closed (works as designed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
20 Aug 2013 at 01:52 UTC
Updated:
18 Mar 2015 at 13:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kim.pepperCould be related to #2066671: Delete button on configure block form does nothing
Comment #2
tim.plunkettThis is actually different from the other issue, but it needs similar test coverage.
TermFormController::delete() sets the redirect, but the destination seems to override it. Not 100% sure what's going on there.
Comment #3
-enzo- commentedComment #4
kim.pepperThis does not work as designed. A term still cannot be deleted from the term edit form.
Comment #5
TimVS commentedI wrote a patch.
The problem was that the destination wasn't removed.
Comment #6
TimVS commentedDouble post due to the network
Comment #7
swentel commentedPatch works, but we need tests for this.
Comment #8
kim.pepperComment #9
kim.pepperThe tests are currently passing because there is no 'destination' query string param being passed. Once you pass one in, it should fail.
Comment #11
kim.pepper#9: 2069411-term-delete-9-PASS.patch queued for re-testing.
Comment #12
swentel commentedCool, thanks!
Comment #13
Bojhan commentedJust an FYI. As far I know, this button shouldn't even be there.
Comment #14
dries commentedBut why does the destination overwrite things? Not sure I understand why it needs to be unset.
Comment #15
xano9: 2069411-term-delete-9-PASS.patch queued for re-testing.
Comment #16
xano9: 2069411-term-delete-9-PASS.patch queued for re-testing.
Comment #18
shreya shetty commentedThis issue wherein the delete link works as expected.I have some screenshots attached.
Comment #19
shreya shetty commented