commerce icon indicating copy to clipboard operation
commerce copied to clipboard

[5.x]: Can't delete currency

Open gopeter opened this issue 1 year ago • 1 comments

What happened?

Description

I want to delete a currency in this screen.

image

But once I click on the delete button, I get "Couldn’t delete “CHF”."

That's because the ID of the currency isn't sent:

image

image

Craft CMS version

5.2.2

Craft Commerce version

5.0.11

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

gopeter avatar Jun 20 '24 11:06 gopeter

Thanks for reporting. This has been fixed for the next release.

To get the fix early, change your craftcms/commerce requirement in composer.json to:

"require": {
  "craftcms/commerce": "5.x-dev#c76b7cea4a70d202ba846dbf437382725c6352c5",
  "...": "..."
}

Then run composer update.

We will update this issue once the release it out.

lukeholder avatar Jul 03 '24 11:07 lukeholder

Hi

Commerce version 5.0.12 has been released with this update included.

Thanks!

nfourtythree avatar Jul 11 '24 15:07 nfourtythree