Home ›
Hollow phantom empty blank nodes in Drupal mysteriously unexplainedHollow phantom empty blank nodes in Drupal mysteriously unexplained
Submitted by Benjamin Melançon on November 19, 2007 - 1:17pm
Now that Agaric has optimized this post for search engines, we have no answers for you. Sorry!
Curious empty phantom node (dated 0 unix time) has appeared in the node display
http://drupal.org/node/45317
(No answer)
Blank Node is Created When Previewing.
http://drupal.ro/blank-node-is-created-when-previewing
Also no answer
Resolution
Searched words:
drupal making phantom nodes
drupal making empty nodes
no title no content no name user username
Comments
Encountering this problem in Drupal 5.x (also no answer yet)
I'm encountering this problem too; in my case anonymous users can create nodes of a certain type. On submission, the node gets created as expected, but a completely blank node (no uid, no title, no body, no type) gets inserted immediately after, with the next sequential nid. Workflow may be involved. I'll post back if any further intelligence can be obtained.
It was Drupal 5 with us also
Pretty sure usernode module was enabled but I don't recall if any workflow module was.
More specifically
The issue is occurring as follows:
The mystery node does not get created if the node is created by an authenticated user, nor if the action is removed from the '(creation)' workflow state.
The site is using Workflow-5.x-1.2, and I've been reluctant to upgrade Workflow 2.x because of other interdependencies and fragilities, but it may be worth trying that before spending time rummaging around in the Workflow code.
::sigh::
Further testing seems to indicate that the problem has something to do with the creation of new accounts using drupal_execute() to submit the 'user_register' form, not actions/workflow; I tried to code around the problem by putting my logic into the 'sumit' op of hook_nodeapi, and to my dismay it's still happening.
Further down the rabbit hole: nodeprofile_user()
The nodeprofile module seems to be the culprit here; I've traced the problem as far as the 'insert' op in nodeprofile_user()... nodeprofile seems to get confused when you submit the user_register form via drupal_execute(), attempting to insert a profile node of its own but losing its context somewhere along the way.
Another drupal_execute/nodeprofile issue: http://drupal.org/node/244573
At this point it looks like I'm going to be patching nodeprofile.
Similar problem
Hi,
I have on my page a similar problem. I see when I click 'Preview comment' button, then empty node is created, no type, no uid, etc.. everything is empty. It comes also when anonymous user press the Preview button and I don't have Profiles, Workflow, usernode installed and the anonymous user don't have 'create any node' access.
It started to happen when I upgraded Drupal from 5.7 to 5.15.
Today drupal.org is turned off, so I wrote here. Tomorrow I will check the drupal site to find a solution ;)
Regards
Further testing seems to
Further testing seems to indicate that the problem has something to do with the creation of new accounts using drupal_execute() to submit the 'user_register' form, not actions/workflow; I tried to code around the problem by putting my logic into the 'sumit' op of hook_nodeapi, and to my dismay it's still happening.
Post new comment