mozilla / django-badger

django-badger is a reusable Django app for creating and awarding badges. See also badges.mozilla.org
https://github.com/mozilla/django-badger
BSD 3-Clause "New" or "Revised" License
117 stars 61 forks source link

Username edits break profile links #152

Open lizzard opened 11 years ago

lizzard commented 11 years ago

On the screen to edit my profile, I can change my username as well as my display name. When I change the username, the links to my profile no longer work, but return a "Page not found" error, as they are putting the old username into the url rather than the new username.

So when my username is ehenry, the profile is here: https://badges.allizom.org/en-US/profiles/profile/ehenry/

But when I change my username to be lizzard, many links including the one on the main page at https://badges.allizom.org/en-US/ still go to https://badges.allizom.org/en-US/profiles/profile/ehenry/, while the working profile is now at https://badges.allizom.org/en-US/profiles/profile/lizzard/.

lmorchard commented 11 years ago

Hmm :( I wonder if the servers are caching too heavily? Will need to investigate.

lmorchard commented 11 years ago

Seems related to this: https://github.com/mozilla/badges.mozilla.org/issues/11