Closed sannam-wesco closed 1 year ago
Hi @sannam-wesco. Thank you for your report. To speed up processing of this issue, 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@magento I am working on this
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.
Hi @engcom-Bravo. 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:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. The error message "Call to a member function getTypeId() on boo" typically indicates that you are trying to invoke the getTypeId() method on a variable or object that is not of the expected type or does not have that method defined.
The error message suggests that the variable or object in question is of type "boo" instead of the expected type. It's important to ensure that you are working with the correct object or variable and that it has the necessary methods defined.
To troubleshoot this issue, you can follow these steps:
Check the variable or object: Verify the variable or object you are trying to invoke the getTypeId() method on. Make sure it is the correct object and that it is instantiated properly.
Review the object's definition: Examine the class or object definition to ensure that the getTypeId() method is actually defined within that class. Check for any typos through viptools-apk or incorrect method names.
@Adward345 Thanks for your contribution & collaboration over here.
Hi @sannam-wesco,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
Steps to reproduce
We have created a product with visibility as Not Visible Individually
We are not getting any error in the response.
Kindly recheck the behaviour on Magento 2.4-develop instance with EE edition and elaborate steps to reproduce if the issue is still reproducible.
Thanks.
@engcom-Bravo
Issue is still exist.
Steps to reproduce
Expected behaviour:
I checked in Magento EE Eidtion.
The culprit is in "vendor\magento\module-requisition-list\Model\RequisitionListProduct.php" file in getProduct($sku) function is returning false, if product is not visible in catalog. But in "vendor\magento\module-grouped-requisition-list\Plugin\Model\RequisitionListItem\SaveHandler.php" $parentProduct = $this->requisitionListProduct->getProduct((string)$productData->getSku()); if ($parentProduct->getTypeId() !== Grouped::TYPE_CODE) // This line trying to get Type Id on false.
Hi @sannam-wesco,
Thanks for your update.
Verified the issue on Magento 2.4-develop instance with ee edition and the issue is not reproducible.Kindly refer the screenshots.
Steps to reproduce
We have disabled the product Simple.
We are getting as The SKU was not found
.
Kindly recheck the behaviour on Magento 2.4-develop instance with EE edition and elaborate steps to reproduce if the issue is still reproducible.
Thanks.
Hi @sannam-wesco,
We have noticed that this issue has not been updated since long time. Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this.
Thanks.
Preconditions and environment
Steps to reproduce
Expected result
Actual result
Additional information
No response
Release note
No response
Triage and priority