Closed (fixed)
Project:
Content Profile
Version:
6.x-1.x-dev
Component:
Base module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2008 at 21:08 UTC
Updated:
2 Feb 2009 at 14:14 UTC
When I try to create a profile for my admin user I can submit the form and get no errors, but on save the uid for the profile node gets set to 0 (anonymous). I have tried debugging quite a few ways, but am unclear where to look next. I have added a #validate and #submit handler to the profile_node_form and the uid = 1 in the $form_state for each of those. However if I print out the $node as part of hook_nodeapi with $op = 'update'/'insert' the uid is 0 by that time.
Any clue where I should look next? Is it a permissions thing? UID 1 thing?
Thanks for any comments.
Comments
Comment #1
fagoFor me this seems to work fine? Can you still reproduce this with the beta3 or later?
Comment #2
febbraro commentedThis actually had to do with a form_alter I was doing. I was unsetting the authoring options, which made all the new profiles be owned by Anonymous, thus the screw up. I think we can close this one.