Closed
Description
Unable to delete custom option file in admin order create due to js error. See steps to reproduce and actual and expected results for further information.
Preconditions (*)
- Magento 2.3.2
- PHP 7.2
Steps to reproduce (*)
- Have a product with at least one custom option of type file as follows:
- Go to Sales -> Orders, click Create New Order button
- Select or create a customer, and proceed to order creation.
- Select customizable product to be added to quote.
- Configure it with a file, in this case is an image called test.png:
- Click Ok, image gets uploaded and attached to custom option successfully.
- Click on Configure button in item row again, in order to try to delete the just uploaded file:
- In configure sidebar, click on Delete checkbox, next to the file input.
Expected result (*)
- File name gets strikethrough, no js errors:
- When Ok clicked, and reopened through Configure button, I expect no file to be there:
Actual result (*)
- Js error due to bad selector, that avoids to prepare fields for submit, so file does not get removed:
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.3 release