Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organization URL does update when changing the name field. #462

Closed
autoferrit opened this issue Aug 24, 2018 · 3 comments · Fixed by #1411
Closed

Organization URL does update when changing the name field. #462

autoferrit opened this issue Aug 24, 2018 · 3 comments · Fixed by #1411
Assignees
Labels
external contributors welcome contribution is welcome!

Comments

@autoferrit
Copy link
Contributor

Bug Report

Current Behavior

On the /organization page, changing the name field to change the name of my organization, will save. But does not actually change the associated URL

Expected Behavior

Changing the name field in an organization, changes the actual URL of the organization.

Additional Info (device/browser, helpful links)

Chrome 69.0.3497.42 on linux

related to #417

@benhalpern
Copy link
Contributor

We will need to add the same redirect behavior that we have on the user model when their username changes. On the user, we track the last two usernames (via old_username and old_old_username) for redirects in case nobody else took the username in the meantime.

On the org, this field is called the "slug", but the same logic applies. Org admins should be able to directly edit this instead of just inferring from the name.

@craigbrad
Copy link

Is this issue still available? I'd love to take a look.

@jessleenyc
Copy link
Contributor

@craigbrad go for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external contributors welcome contribution is welcome!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants