Closed (duplicate)
Project:
Mollom
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2009 at 09:55 UTC
Updated:
13 Oct 2009 at 22:06 UTC
I just ran into an issue where my module's hook_nodeapi($op = "view") got a node with some strange data for a node-reference field. It should be just a list of array(nid => ) items, but instead I got this:
[field_sourcecode] => Array
(
[0] => Array
(
[nid] => Array
(
[nid] =>
[_error_element] => field_sourcecode][0][nid][nid
)
[_weight] => 0
[_error_element] => field_sourcecode][0][nid][nid
)
Which seems caused by the fact that Mollom sends form data instead of an actual node to node_build_content().
But if I read the last comment in #277626: Checking CCK nodes with drop down lists lead to SAX 0x0 parsing error correctly, node_build_content() is already being replaced so this will be solved in the future?
Comments
Comment #1
dave reidYes it will be fixed with #245682: Enable use of Mollom for any form because you will select which fields you want included in textual analysis.