Deletion of nodes not working due redirect (missing confirmation form)

Comments

eugenmayer’s picture

fixed, well this was quiet a hard one to solve.

eugenmayer’s picture

Status: Active » Fixed
eugenmayer’s picture

Status: Fixed » Closed (fixed)

released in in 1.4

chrislynch42’s picture

I tried fixing the problem by putting the following in hook_form_alter. Didn't work.

if($form_id == 'node_delete_confirm' && $form['#parameters'][2]->type == 'author') {
$form['#redirect'] = $thepath;
// print_r($form);
// exit();
}

eugenmayer’s picture

Its already fixed. The fix was a lot lot harder :). Took me 2 hours even.

chrislynch42’s picture

Version: 6.x-1.4 » 6.x-1.3
Status: Active » Closed (fixed)

I'm having trouble figuring out how to get the fix:( What do I need to checkout of CVS to get the fix?

eugenmayer’s picture

Version: 6.x-1.3 » 6.x-1.4
Status: Closed (fixed) » Active

What versions do you use?

chrislynch42’s picture

Version: 6.x-1.3 » 6.x-1.4
Status: Closed (fixed) » Active

I've gotten myself confused. I am experiencing this exact problem in the Drupal Core not in the "Content Moderation" module. I am not using that module. Sorry about that. the 6x.1.4 makes perfect sense now:) I am surprised that this problem is persisting in the Drupal core.

eugenmayer’s picture

Status: Active » Closed (fixed)

Ok great.