Active
Project:
Node Widget
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2010 at 11:28 UTC
Updated:
19 Jul 2011 at 11:12 UTC
hi,
i had a content-type A that has a node-reference field B. when i add a node of type B manually everything is OK.
but nodes of type B that are created from node type of A add form have their comments disabled.
Comments
Comment #1
pendashteh commentedi looked into the code.
it seems the node_widget handles the form in a way that comment_form_alter() is not called. neither no hook_form_alter() or hook_form_submit() on the referenced node creation form is not called.
and it's kind of terrible! and will show up a lot of bugs and incompatibilities with other modules and custom themes soon or late and makes and it is not good at all for a module with such a functionality and structure.
Comment #2
Hek commentedNeed to replace
by
in node_widget.form.inc (line 119)