-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: CatalogFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: doneReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release
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
Component: CatalogFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: doneReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release