Can't delete nodes that have Custom (Form) destination

akolahi - February 20, 2009 - 09:39
Project:Custom (Form) destination
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

because of the destination behavior you can never get to the page that asks you to confirm deleting a node.... thus you can't delete a node through edit->delete.

Perhaps the custom destination should not work in cases of deletion.

#1

ragnarkurm - June 19, 2009 - 10:24

Same here,
unable to delete nodes :(

#2

flevour - July 4, 2009 - 21:12
Status:active» won't fix

Sorry, this problem goes beyond the intended use for this module. It would need to have a custom PHP snippet of code added to each redireaction, an approach I don't want to take at the moment.
You may have a look at the Rules module: http://drupal.org/project/rules
Good luck and keep up the fun,
Francesco

#3

dafeder - October 14, 2009 - 12:27

I made a small hack to the module that may be worth considering for commit that gets around this problem in what I imagine might be a lot of use cases. By adding a permission "skip custom destination", users with this permission have a normal form submission experience and in the case of nodes can still delete and perform similar functions. If you're using customdestination to send lower-level users to a thank-you page after submission but want admins to retain the ability to delete, this may be useful.

with a little more work a separate perm could be create for every custom destination defined.

AttachmentSize
customdestination.module.skip_perm.diff 592 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.