Duplicate declarations of nodequeue_action_info resulting in WSoD

reubidium - July 5, 2008 - 02:19
Project:Nodequeue
Version:5.x-2.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

In both actions.inc and workflow_ng, function nodequeue_action_info is defined, resulting in a fatal error and resulting white screen of death.

I was of the impression that these two modules were not mutually exclusive? if they are, this needs to be put into the code as an if/else sort of situation at the very least.

#1

Amitaibu - July 5, 2008 - 12:21
Status:active» needs review

This is a known issue in wf_ng and actions. I've added a check so a WSOD won't happen.

(btw, this collision is going to be fixed in D6 version).

AttachmentSize
nodequeue_wfng_actions_collide_1.patch 940 bytes

#2

ezra-g - July 5, 2008 - 23:52

Looks good to me, though the drupal_set_message refers to action module instead of actions module ;).

#3

Amitaibu - July 6, 2008 - 09:00

Fixed typo.

AttachmentSize
nodequeue_wfng_actions_collide_2.patch 941 bytes

#4

ezra-g - July 6, 2008 - 16:46
Status:needs review» fixed

New release will be available shortly.

#5

ezra-g - July 6, 2008 - 16:47

Also, fixed a 'tabs instead of two spaces' issue in this patch.

#6

Anonymous (not verified) - July 23, 2008 - 10:56
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.