Closed (duplicate)
Project:
Drupal core
Version:
8.6.x-dev
Component:
action.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2010 at 20:22 UTC
Updated:
25 Dec 2018 at 01:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonYeah, that does look like a problem -- thanks for taking the time to report it!
The code is exactly the same in D7 and it should be fixed there first, then ported back to D6.
I'm going to suggest that it is a problem in the code rather than the documentation, and that the default value for $context in actions_do() should be set to array() so that array_merge($context, $something) will not crash.
I guess we don't have a component for actions, so I've set this to "base system".
Comment #2
darrellduane commentedOk, I'll work on it.
Comment #3
jordojuice commentedThis looks like a good issue for my first core patch... doesn't seem too complicated! :-)
Comment #5
jordojuice commentedHmm... this doesn't seem to be an issue with the patch.
Comment #6
jordojuice commented#3: actions_do-context-default-992858-3.patch queued for re-testing.
Comment #7
jordojuice commentedAhh there we go :-)
Comment #10
dawehner.
Comment #17
andypost