Hi all,

We've found that Node delete links in views lead to a confirmation page where the cancel link is broken, but only when the view URL contains a query string with arguments, which may also happen when AJAX is enabled for the view display and you paginate a little, the node delete links get build with query strings in them.

Well, trying to track this, I beleive this is a problem in Drupal core itself, so I opened the following bug report: #383748: confirm_form() broken when destination URL contains query string

I'm wondering if someone else found this problem, and if there was a workaround or something I've missed.

Otherwise, if it happens to you too, then please try the mini-patch I posted in the Drupal issue and post back if that worked. Thanks!

CommentFileSizeAuthor
#2 system.module-383748-D6.patch849 bytesmarkus_petrux

Comments

dawehner’s picture

can you please provide a real patch?

thx!

markus_petrux’s picture

StatusFileSize
new849 bytes

There we go. Patch against Drupal HEAD at #383748: confirm_form() broken when destination URL contains query string

Patch for D6 attached here, so someone else with this problem in Views can test. I'll also request a backport to D6 when the other issue is ready with HEAD.

esmerel’s picture

Status: Active » Needs review
merlinofchaos’s picture

I'm confused. This is a patch against system.module -- should this be in the core queue?

merlinofchaos’s picture

Hm. I just realized that this is basically a year old at this point.

bojanz’s picture

Status: Needs review » Postponed (maintainer needs more info)

The patch attached is not a Views patch.
The issue is very old.

Reopen if needed.

dawehner’s picture

Status: Postponed (maintainer needs more info) » Postponed

Update status :)

rschwab’s picture

Status: Postponed » Closed (duplicate)

- Not Views
- Super old
- Getting covered over at #383748: confirm_form() broken when destination URL contains query string