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
Imposible to reorder configurable products with optional custom options #35409
Comments
Hi @Axel29. Thank you for your report.
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:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 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 |
Hi @engcom-November. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-November. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-November, here is your Magento Instance: https://416f8f8c1f2159c88948540136bf23aa.instances.magento-community.engineering |
✅ Jira issue https://jira.corp.magento.com/browse/AC-2998 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
@magento I am working on this |
Hi @Zaahed! 👋 |
@magento add to contributors team |
@magento I am working on this |
Hello everybody! Can anyone help me with this problem? If no option was selected with the order I can't do a reorder. I get the same error message as "Some of the selected options are not currently available". |
Preconditions
Steps to reproduce
Temporary workaround: Click on Configure button - do not select anything - click OK and submit order - Order is created - No issue
Expected result
Actual result
Some of the selected options are not currently available.
Additional information
From what I've debugged, it seems like the issue is caused by the method
\Magento\Catalog\Model\Product\Option\Type\Select::getEditableOptionValue
.This one doesn't check if the custom option is required or optional.
Thus, when fetching the value with
$_result = $option->getValueById($_value);
, which isnull
, theelse
statement is reached and then a$this->getListener()->setHasError(true)->setMessage($this->_getWrongConfigurationMessage());
is set.Finally, this triggers the error in
\Magento\Quote\Model\Quote\Item\AbstractItem::checkData
because of theif ($this->getProduct()->getHasError()) { ... }
condition.Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: