You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
If you try to duplicate an existing voucher using the save option "Save as new voucher" an Internal Server Error occurs due to the Integrity constraint validation on the voucher SKU field in the giftvouchers_vouchers table.
Steps to reproduce
Create a new voucher.
Click "Save as new voucher"
Additional info
Plugin version: 2.5.5
Craft version: Craft Pro 3.5.11.1
Multi-site: Yes
The text was updated successfully, but these errors were encountered:
I can't seem to immediately replicate this. It should create the same voucher, but be disabled. This is so the voucher element can be created, with the same identical SKU, but in order to enable it, you need to fix the duplicate SKU.
Description
If you try to duplicate an existing voucher using the save option "Save as new voucher" an Internal Server Error occurs due to the Integrity constraint validation on the voucher SKU field in the giftvouchers_vouchers table.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: