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!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | system.module-383748-D6.patch | 849 bytes | markus_petrux |
Comments
Comment #1
dawehnercan you please provide a real patch?
thx!
Comment #2
markus_petrux commentedThere 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.
Comment #3
esmerel commentedComment #4
merlinofchaos commentedI'm confused. This is a patch against system.module -- should this be in the core queue?
Comment #5
merlinofchaos commentedHm. I just realized that this is basically a year old at this point.
Comment #6
bojanz commentedThe patch attached is not a Views patch.
The issue is very old.
Reopen if needed.
Comment #7
dawehnerUpdate status :)
Comment #8
rschwab commented- Not Views
- Super old
- Getting covered over at #383748: confirm_form() broken when destination URL contains query string