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

Open
bjarnef opened this issue Mar 19, 2024 · 3 comments
Open

Deleting country throws error #477

bjarnef opened this issue Mar 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@bjarnef
Copy link
Contributor

bjarnef commented Mar 19, 2024

Describe the bug
I noticed when deleting default "United Kingsom" 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

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant