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

Deleting country throws error #477

Closed
bjarnef opened this issue Mar 19, 2024 · 5 comments
Closed

Deleting country throws error #477

bjarnef opened this issue Mar 19, 2024 · 5 comments

Comments

@bjarnef
Copy link
Contributor

bjarnef commented Mar 19, 2024

Describe the bug
I noticed when deleting default "United Kingdom" country from listview bulk action or country page it throws an error.

Expected behavior
No error or better error handling. The store has Denmark set as default country.

Screenshots
image

image

Umbraco Commerce version:
13.1.1


This item has been added to our backlog AB#49017

@bjarnef bjarnef added the bug Something isn't working label Mar 19, 2024
@bjarnef
Copy link
Contributor Author

bjarnef commented Mar 19, 2024

I tried to reset defaults on country.

image

And disabled selecting on payment method.

image

However when I disabled selection on shipping method it throws an error.

chrome_zx6bxBfd0W.mp4

@bjarnef
Copy link
Contributor Author

bjarnef commented Mar 19, 2024

@mattbrailsford are there any references to custom pricing, shipping provider or location which may cause these errors? 🤔

@bjarnef
Copy link
Contributor Author

bjarnef commented Mar 19, 2024

Workaround for now was to delete the default "Pickup" shipping method. After that I could delete United Kingdom.
I guess there are some references, which fails to be deleted?

@MichaelNielsenDK
Copy link

I'm seeing this in v13.5.1 also, trying to delete the default created country throws an error...

It's quite annoying, because when creating a store on a new install, United Kingdom defaults for everything is created, which we then have to delete again.

@mattbrailsford
Copy link
Contributor

Fix will be in 13.1.19, 14.4.0 and 15.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants