User profiles can be made visible or invisible to anonymous vistors. This breaks on 4.7.2 when additional fields are added to the user via profile.module

To duplicate:
Install 4.7.2 core
activate profile.module
add a field to profile
update one user to include the additional field
enable "access user profiles" in access controls, for anonymous visitors.

create a node from some user
create a node from the modified user

log out.

Expected operation:
Visit the node by the non-modified user
click on user name in submitted line
see user profile (without modified field)

Unexpected operation:
Visit the node from the modified user
click on user name in submitted line
"Page not found"
and a log entry of: page not found Date-Time user/2 not found. Anonymous

Comments

magico’s picture

Version: 4.7.2 » x.y.z
Status: Active » Fixed

Could not reproduce in HEAD.

jeff veit’s picture

This is by design. Sort of. See http://drupal.org/node/84490.

It's not to do with the profile module, as suggested by the bug report. It's because the user that was created had never logged onto the site. The bug is that the user profile listings shows users who have not accessed the site, but the page an entry in the listing links to for never-logged-on users, that's not pulled from the database.

I'm not going to re-open this because according to the link above, someone is fixing the problem.

Anonymous’s picture

Status: Fixed » Closed (fixed)