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.
@ericholscher ericholscher requested review from humitos and agjohnson Dec 11, 2017
Copy link
Contributor

@agjohnson agjohnson left a comment

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

@ericholscher ericholscher merged commit 14adb20 into master Dec 18, 2017
2 checks passed
@stsewd stsewd deleted the fix-domain-editing branch Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants