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

Magento Admin - Hitting enter when configuring a product to add to order in admin does not save the custom options #35284

Closed
3 tasks
blockedie opened this issue Apr 8, 2022 · 5 comments · Fixed by #36173
Labels
Area: Order Component: Order grid Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P3 May be fixed according to the position in the backlog. Progress: done Reported on 2.4.x Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@blockedie
Copy link

blockedie commented Apr 8, 2022

Preconditions (*)

  1. Magento ver. 2.4.2-p2

Steps to reproduce (*)

In Magento 2, navigate to Sales > Order and create a new order

Select "Add Products" to add a product to the order from the product list.

In the product list, find an upholstery product and select "Configure". In the configure pop-up, select the custom options and enter the quantity. From the quantity field HIT ENTER instead of using the cursor to select "Ok" in the top right corner. Note that the configuration pop up window has closed.

add the product to the order and return to the order page. Scroll to the product you just added and note that you see an error "The product has required options". Select "Configure" on the product and note that the custom options that were set before are no longer present, suggesting they were not saved.

Once you reconfigure the options, the error goes away. On the order page, if you use "Enter" rather than selecting "Ok" in the configuration pop-up, the configurations are saved as appropriate.

Current behavior (please include any screenshots or videos as needed):

When I select different custom options for a MTO product and then hit "enter" on the keyboard to apply changes and close the window, the custom options are not saved. When I add the product to the order, and find the product, I notice that I receive an error "The product has required options" and I am forced to reconfigure the product options

Here's a loom video showing what I did to encounter the error: [https://www.loom.com/share/40dab8667bef40a882c513f52eb2985a]

Expected behavior:

I should be able to hit "Enter" to apply the custom options and close the window and expect that the options are saved when I add the product to the order.

Additional Information:

2.4-develop branch behavior: Product got selected but "The requested qty is not available" error is displayed on clicking "Add selected products" button.
This issue is not reproducible for Bundle Products on 2.4-develop branch.On hitting "Enter" instead of OK button, product is not getting selected.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • [] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • [ X ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@m2-assistant
Copy link

m2-assistant bot commented Apr 8, 2022

Hi @blockedie. Thank you for your report.
To speed up processing of this issue, make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@m2-assistant
Copy link

m2-assistant bot commented Apr 11, 2022

Hi @engcom-November. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-November
Copy link
Contributor

engcom-November commented Apr 11, 2022

Verified the issue on Magento 2.4-develop branch however we are getting different error message on performing mentioned steps: "The requested qty is not available" and the product is not getting added - Issue
Please find the attached video below:

www_screencapture_com_2022-4-11_15_46.mp4

However on clicking OK button instead of hitting "Enter" while configuring, this issue is not reproducible. User is able to add product and submit order. No error message is displayed.

www_screencapture_com_2022-4-11_15_51.mp4

Hence confirming this issue as the product is getting selected on hitting ENTER but not able to add the product

@engcom-November engcom-November added Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Component: Order grid Reported on 2.4.x Indicates original Magento version for the Issue report. Area: Order Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Apr 11, 2022
@m2-community-project m2-community-project bot moved this from Ready for Confirmation to Confirmed in Issue Confirmation and Triage Board Apr 11, 2022
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.magento.com/browse/AC-2812 is successfully created for this GitHub issue.

@m2-assistant
Copy link

m2-assistant bot commented Apr 11, 2022

✅ Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@github-jira-sync-bot github-jira-sync-bot added the Progress: PR Created Indicates that Pull Request has been created to fix issue label Nov 16, 2022
@m2-community-project m2-community-project bot moved this from Pull Request In Progress to Done in Low Priority Backlog Dec 20, 2022
@m2-community-project m2-community-project bot removed Progress: PR Created Indicates that Pull Request has been created to fix issue Progress: PR in progress labels Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Order Component: Order grid Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P3 May be fixed according to the position in the backlog. Progress: done Reported on 2.4.x Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
Development

Successfully merging a pull request may close this issue.

4 participants