If a user does not have a MySite account, trying to access any of the View Edit or Content pages will cause an infinite loop. This is due to a missing 'page' argument causing the submenu routines to crash.
Fix seems to be to edit function mysite_get_pages()
Edit line 1204 to:
$pages = array(0);
This will cause the $page array to have at least one value so that the submenu routines do not fail.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | mysite3.patch | 3.87 KB | agentrickard |
Comments
Comment #1
agentrickardThere is a related issue with not creating the first page entry for a user, which requires an additional patch.
Comment #2
agentrickardAttached patch addresses both issues.
Comment #3
agentrickardCommitted to HEAD.
Comment #4
agentrickardComment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.