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

Fix issue where you couldn't edit your canonical domain. #3387

Merged
merged 4 commits into from
Dec 18, 2017

Conversation

ericholscher
Copy link
Member

@ericholscher ericholscher commented Dec 8, 2017

This logic was checking to see if the domain passed in was the current canonical,
but using the domain you were trying to change it to.
We should be checking for the existing PK to see if you're editing,
not the new domain.

Fixes #2922

This logic was checking to see if the domain passed in was the current canonical,
but using the domain you were _trying_ to change it to.
We should be checking for the existing PK to see if you're editing,
not the new domain.
Copy link
Contributor

@agjohnson agjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Perhaps we need a test to ensure the bug is fixed and we're using the form in the correct way now?

@agjohnson agjohnson added the PR: work in progress Pull request is not ready for full review label Dec 14, 2017
@ericholscher ericholscher merged commit 14adb20 into master Dec 18, 2017
@stsewd stsewd deleted the fix-domain-editing branch August 15, 2018 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: work in progress Pull request is not ready for full review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants