Found this bug on a D6 site using Realname-6.x-1.5.
The view is displayed on '/user/someuser' pages and it is configured to get the uid based on the URL, convert it to the realname of the user, and display it as part of the title of the view. To convert the uid to the user's realname, the validator 'User (realname)' is provided by the class in realname_plugin_argument_validate_user.inc. In that class, the function validate_argument() sets $this->argument->validated_title to the return value of realname_make_name($account).
For whatever reason, the title always incorrectly displays 'Anonymous' as the user's realname. I managed to fix it with a simple patch but I haven't thoroughly tested it for regressions.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | realname-views-argument-anonymous-user-1883448-2.patch | 473 bytes | davidneedham |
| #1 | realname-views-argument-anonymous-user-1883448-1.patch | 457 bytes | dags |
Comments
Comment #1
dags commentedHere's the patch.
Comment #2
davidneedhamRe-rolled the patch against the latest dev version. This single change fixed the problem for me.
Comment #2.0
davidneedhamredundancy
Comment #3
hass commented