Not sure why this is happening - when I type in https://community.namati.org/my/preferences in incognito mode, I am redirected to https://community.namati.org/login-preferences where I am prompted to log in to change my preferences. But if I click the link on the banner we’ve added to the forum homepage at https://community.namati.org to “add my profile picture” which links to that same URL I get a 404. Any thoughts?
AI-generated summary
A 404 error occurs when a non-logged-in user clicks the link to /my/preferences on the forum homepage, but not when typing the URL directly into the browser. tobiaseigen reported the issue and tshenry was able to reproduce it. The problem was suspected to be an Ember routing bug codinghorror. However, techAPJ has since fixed the issue via a commit to the Discourse repository, resolving the 404 error for /my/*path routes.
Can we repro this @tshenry?
I can repro. You can actually see it right here on Meta as an anon user.
If you take a look at this post from an incognito window and open the following link in a new tab, it works, but if you click on it directly, it gives you a 404.
https://meta.discourse.org/my/preferences
This looks like where the problem area could be, but I’m not 100% sure at this point:
Looks like a legit Ember type routing bug of some kind @sam?
Fixed via:
https://github.com/discourse/discourse/commit/236833ed5de64d50ab87ac943ce8fb880a6c4eb1
This also fixes 404 for other /my/*path .. for example: Discourse Meta - The Official Support Forum for Discourse
Thanks for reporting this issue @tobiaseigen. ![]()