Closed (fixed)
Project:
Send
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2010 at 12:05 UTC
Updated:
28 Mar 2011 at 05:55 UTC
I didn't tagged this issue as "need review" because the bug is really obvious and needs to be fixed very quickly.
Actually, the header of send_nodeapi() are wrong, probably due to a too-fast copy-paste :-).
The result is:
- the function does not work as expected
- if a module calls directly nodeapi (e.g.: apachesolr_search) and specify any literal argument as second or third argument, a PHP fatal error is thrown...
| Comment | File | Size | Author |
|---|---|---|---|
| send-nodeapi-hook-header.patch | 971 bytes | b-prod |
Comments
Comment #1
b-prod commentedThe patch removes also an extra space at the end of line 109 (automatic correction by my PHP editor), and I left the fix in patch above, because it has no sense to open an issue only for that.
Comment #2
nedjoConfirmed. This bug is causing a fatal error and preventing indexing in apachesolr.module, which directly invokes hook_nodeapi():
Comment #3
nedjoYes, the patch fixes the bug. Yes, it's a critical bug as it can kill a site (in combination with other code, like that in apachesolr.module).
Comment #4
allie mickaGah! fair enough. Committed!
Comment #6
qasimzee commentedI don't think it's still available in the stable release. Is it?