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 an order status then creating another with the same handle returns a "That handle is already in use" error #1027

Closed
jamiewade opened this issue Oct 1, 2019 · 1 comment
Labels

Comments

@jamiewade
Copy link

Steps to reproduce

  1. Create an order status, then delete it
  2. Create a new order status with the same handle
  3. You will get the That handle is already in use error

Tested on a clean Craft install with Commerce.

If it's any help I am using Craft's project config file. I cannot see any traces of that order status once it has been deleted, so that part is working fine.

The old status doesn't exist:

playground local_admin_commerce_settings_orderstatuses(MacBook Air)

But I can't create a new one with the same name as the deleted one:

playground local_admin_commerce_settings_orderstatuses_new(MacBook Air) (3)

Additional info

  • Craft version: 3.3.6
  • PHP version: 7.3.8
  • Database driver & version: MySQL 5.7.24
  • Plugins & versions: Commerce 2.1.13
@jamiewade
Copy link
Author

I have also run both garbage collection commands, but the issue still persists.

@brandonkelly brandonkelly transferred this issue from craftcms/cms Oct 3, 2019
@lukeholder lukeholder added the bug label Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants