Contextual delete link results in a 404 due to destination query param

Created on 11 August 2020, almost 5 years ago
Updated 3 June 2025, 11 days ago

Problem/Motivation

When deleting an entity via a contextual link, the user will be taken to a 404 page after confirming the deletion due to the destination parameter added by contextual.js

This is also impossible to override due to 🐛 contextual.js overrides any destination query param set earlier Needs work

Steps to reproduce

Delete a node via a contextual link on the node page.

Proposed resolution

Explore options in #22

Remaining tasks

  1. Test
  2. Fix
🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component

contextual.module

Created by

🇦🇺Australia acbramley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024