Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Steps to reproduce
- Go to the block library for a non-default theme, i.e.
/admin/structure/block/list/seven
- Disable a block by using the Disable dropbutton link
- Expected result
- You are still on the same page with the block now disabled
- Actual result
- While the block is disabled you are now on the block layout for the default theme, i.e.
/admin/structure/block
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff-2851133-5-6.txt | 2.59 KB | shadcn |
#6 | disabling_a_block-2851133-6.patch | 3.82 KB | shadcn |
#5 | disabling_a_block-2851133-5-fail.patch | 1.12 KB | shadcn |
Comments
Comment #2
shadcn CreditAttribution: shadcn at Chapter Three commented@tstoeckler OK if I take this? Doing some block related work right now.
Comment #3
shadcn CreditAttribution: shadcn at Chapter Three commentedLooks like same is happening when removing a block.
Comment #4
tstoeckler@arshadcn Yes please. I do not intend to work on it, but I will review anything you post. Thanks!
Comment #5
shadcn CreditAttribution: shadcn at Chapter Three commentedAdded tests to confirm this bug. Expected to fail.
Comment #6
shadcn CreditAttribution: shadcn at Chapter Three commentedAttaching the test and the fix. This adds the destination query to the operations.
Comment #8
shadcn CreditAttribution: shadcn at Chapter Three commented@tstoeckler this is ready for review. Thanks :)
Comment #9
tstoecklerThanks for the ping @arshadcn. I wanted to RTBC, but then I realized this may be duplicate of #2767857: Add destination to edit, delete, enable, disable links in entity list builders, which is a more generic solution. What do you think, since you have worked on this more closely? Maybe we can join efforts over there?
Comment #10
shadcn CreditAttribution: shadcn at Chapter Three commentedYeah. Let's do that. Looks like there has been more activities there. Thanks.
Comment #13
idebr CreditAttribution: idebr at ezCompany commentedClosing as a duplicate of #2767857: Add destination to edit, delete, enable, disable links in entity list builders