Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
node system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2009 at 16:46 UTC
Updated:
23 Oct 2009 at 14:49 UTC
When the "Authored By" field is left empty (for anonymous user) the node is no longer accessible. With previous versions it would just change the UID to '0' and list the "Posted by" as Anonymous. Now it breaks the page and causes indexing errors and a number of problems if the node had been promoted to the front page.
To remedy this I have to go into the node table of the database and change the UID to a valid yet non-zero number.
PHP Version 5.2.9 / Drupal 6.13 and 6.14 / www.clydelibrary.org
Comments
Comment #1
vm commentedComment #2
technobrarygeek commentedComment #3
vm commentedbumping to 6.x-dev as it would have to be applied there first. I've not taken the time to check D7, but if it's an issue there as well, this will likely have to get pushed to the D7 queue.
Comment #4
technobrarygeek commentedSo that I understand, this is broken for EVERYONE who uses Drupal 6.13 and newer AND won't be fixed without having to go to 7.x? Should I find exactly which 6.x subversion was the last to work properly and downgrade all 29 of my Drupal sites to that version? I'm not being cute here but to have such a longstanding feature be unusable when following the instructions from Drupal is very disappointing.
Comment #5
vm commentedWRT to Drupal 7.x because that is where developers are currently at work the fix would go into D7 and be backported to D6 unless someone other than current core developers creates a patch and uploads it to this issue.
Comment #6
johanneshahn commentedcant reproduce the error
have only some errors if the user with uid=0 is missing in table "users".
would you subscribe the bug more detailed bhardison?
Comment #7
technobrarygeek commentedThat's the problem right there. This is an "out of the box" Drupal install. I don't do any tinkering with the code. Why would the be no uid=0 in the users table? I will try just adding it.
And that fixed it. I KNEW it had to be something flaky with my set up.
Thanks,
B
Comment #8
technobrarygeek commentedComment #9
vm commentedI recall an issue where a an old release of a module may have been responsible for removing UID 0. If I can locate it, I'll link it here for posterity.