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

vm’s picture

Component: user system » node system
technobrarygeek’s picture

Priority: Normal » Critical
vm’s picture

Version: 6.14 » 6.x-dev

bumping 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.

technobrarygeek’s picture

So 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.

vm’s picture

WRT 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.

johanneshahn’s picture

cant 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?

technobrarygeek’s picture

That'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

technobrarygeek’s picture

Status: Active » Closed (fixed)
vm’s picture

I 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.