User cannot access their sites
I think this might be related to the issue discussed on the dev call yesterday and mentioned in the ticket #12165. I had some trouble following the specifics but I think I understood that its related to the deletion of users from sites or the wiping of the user roles on a site?
In this case, a Commons user is trying to access a site on which he is an admin. He can view the site in My Sites but when he clicks he is re-directed to the Commons page.
His user name is "fcanela" and the site he is trying to access is https://fcpd.commons.gc.cuny.edu/
That's all the info I have right now but Let me know if I need to follow up with him about anything else
#5 Updated by Luke Waltzer over 2 years ago
#6 Updated by Boone Gorges over 2 years ago
- Status changed from New to Reporter Feedback
- Assignee set to Boone Gorges
- Target version set to 1.16.1
This was caused by a missing restore_current_blog() after a switch_to_blog(), introduced as part of the 1.16 release. Fixed in https://github.com/cuny-academic-commons/cac/commit/00c12cbf5856417b939ecf765225f918d83f3a69. In addition, the function in question should not have been called at all in most contexts; this has been fixed in https://github.com/cuny-academic-commons/cac/commit/0efd793224ef0d61a9b139a3193f03e973ce0284
These changes have been deployed to production. Could I get someone to confirm please?