Closed (fixed)
Project:
Anonymous Posting
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 15:30 UTC
Updated:
29 May 2011 at 11:03 UTC
Node body doesn't display at the first preview but appear at next ones.
I've found out that this issue appear as soon as the core Locale module is enabled. My little investigation found out that the node preview process build the resulting body under $node->body[en] and for some reasons, when the anonymous_posting module create instance of its field, this issue is triggered.
Comments
Comment #1
drikc commentedFixed by using hook_field_validate() in place of a custom validation function.
It appear that, in the custom validation function, using field_get_items() trigger this issue:
Then using hook_field_validate() permit to retrieve the anonymous_posting field columns cleanly without using field_get_items().
Comment #2
drikc commentedOh this concern 7.x version