Reviewed & tested by the community
Project:
Node Destination
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
10 Nov 2010 at 15:02 UTC
Updated:
2 Jun 2012 at 10:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
alexkb commentedHi bkno, I've just tried to replicate this issue, but don't seem to be able to. What sort of url are you setting in the 'Path to destination' field.
Thanks.
Comment #2
bryancasler commentedI am also experiencing this problem.
My redirect path is "private/member-home"
I'd be happy to answer/troubleshoot anything for you.
Comment #3
khalor commentedAlso having the same issue
Comment #4
vkareh commentedThis is actually an easily reproducible issue: the
$form['#redirect']fires on any type of form submit. Clicking on the Delete button is a form submit, hence the redirect.I added a submit callback just to the Save button (
$form['buttons']['submit']['#submit'][]), so that the redirect can be added in$form_state['redirect'].Please test and let me know. Thanks!
Comment #5
vkareh commentededit: The patch is not linking properly. Here it is: http://drupal.org/files/issues/node_destination-967782.patch
Comment #6
khalor commentedThe patch in #5 fixes the issue.
Comment #7
fuerst commentedJust a hint: don't forget to redirect after deleting a node too by adding a
$form['#submit'][] = 'node_destination_redirect';to the node_delete_confirm form.Comment #8
Dharmendra.s commentedgood patch thanks....