magento2
magento2 copied to clipboard
Issue with Ordering from Gift Registry Magento 2.4.4 Enterprise/Commerce
Preconditions (*)
- We are using Magento 2.4.4 Enterprise/Commerce Edition with PHP 8.1
- MySQL 8.0
- Ubuntu 20.04 LTS
- nginx 1.18
- Trying to place order from registrants gift registry item
Steps to reproduce (*)
- Add a product to gift registry
- share the gift registry link
- open the gift registry link in another browser/incognito window
- Add qty and add to cart the item
- Go to Checkout Page, select shipping method(As shipping address is already selected, provided by the registrant)
- Select the payment Method
- Click on Place Order Button
Expected result (*)
- The order should get placed and the registrant should get gift registry update email
Actual result (*)
- Something went wrong with your request. Please try again later.
- In log we can see the error Call to a member function getUpdatedQty() on null in /var/www/html/local.magento244.com/vendor/magento/module-gift-registry/Block/Email/Items.php:61
4. The order is not placed
Hi @shawkatalam-dev. 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.
- Join Magento Community Engineering Slack and ask your questions in #github channel.
:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
:clock10: You can find the schedule on the Magento Community Calendar page.
:telephone_receiver: 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.
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
Hi @engcom-Delta. 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: :point_down:
-
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
Details
If the issue has a valid description, the labelIssue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until labelIssue: 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
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced 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.
Hi @shawkatalam-dev ,
Thank you for logging an issue . We tried to reproduce the issue on 2.4 develop ( Enterprise Edition) Frontend , but need more clarity on step 3 & step 4.
Followed steps:
- Add a product to gift registry

- share the gift registry link

- open the gift registry link in another browser/incognito window
Query : Which link we suppose to use at this movement ? the link that we got in the email ? or the link that present on the frontend?
- Add qty and add to cart the item Query: May i have screenshots please?
Hence, request to help me to reproduce the issue.
Hello ,
We are using vanilla Magento instance. Below is the more detailed steps to reproduce the issue.
- First add a product to gift registry from cart page
- Go to your gift registry and click on the share button/link
- Now add Message , Invitee Details and share the Gift Registry
- Open the email id and click on the registry location link (Suggest to use another browser or try incognito mode, so that it does not use the current user session)
- Now add qty and click on Add To Cart
- After that do the usual checkout process and go to the payment page , select any payment method and click on place order.
expected is the order should be placed, but we are getting error
When we checked log we can see the below message
Hope this information is useful.
@magento give me 2.4-develop instance. I want to check in vanilla instance as well
Hi @shawkatalam-dev. Thank you for your request. I'm working on Magento instance for you.
Hi @shawkatalam-dev, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.
@engcom-Delta waiting for your response
Hi @shawkatalam-dev ,
Thanks for sharing the details and we have retested it again on Magento Enterprise Edition 2.4 Develop. Issue is reproducible. Hence issue is confirmed.
-
First add a product to gift registry from cart page
-
Go to your gift registry and click on the share button/link

- Now add Message , Invitee Details and share the Gift Registry

- Open the email id and click on the registry location link (Suggest to use another browser or try incognito mode, so that it does not use the current user session)

- Now add qty and click on Add To Cart

- After that do the usual checkout process and go to the payment page , select any payment method and click on place order.
- Getting the below error .

:white_check_mark: Jira issue https://jira.corp.magento.com/browse/AC-3114 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Delta. Thank you for verifying the issue.
Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
@magento i'm working on this.
Internal Team started working on this issue
Hi @veloraven. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
-
- Add/Edit
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.
- Add/Edit
-
- Verify that the issue is reproducible on
2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced 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!
- Verify that the issue is reproducible on
-
- If the issue is not relevant or is not reproducible any more, feel free to close it.
- Join Magento Community Engineering Slack and ask your questions in #github channel.