-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
API REST and Reserved Order Id #19101
Comments
Hi @davidlhoumaud. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @davidlhoumaud do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@magento-engcom-team give me 2.2-develop instance |
Hi @davidlhoumaud. Thank you for your request. I'm working on Magento 2.2-develop instance for you |
Hi @davidlhoumaud, here is your Magento instance. |
Confirmed this on vanilla instance. |
Hi @rogyar. Thank you for working on this issue.
|
@rogyar Thank you for verifying the issue. Based on the provided information internal tickets |
Hi @vasilii-b. Thank you for working on this issue.
|
- Fixed issue "Can not update cart with a reserved order number like 000000651"
Hi @davidlhoumaud. Thank you for your report. The fix will be available with the upcoming 2.3.1 release. |
- Fixed issue "Can not update cart with a reserved order number like 000000651"
Hi @davidlhoumaud. Thank you for your report. The fix will be available with the upcoming 2.2.8 release. |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Update the cart with a reserved order number with the left pad 0 eg: 000000651
Actual result (*)
Can not update cart with a reserved order number
My temporary solution
in the file CartInterface.php
There is a typing error Doctrine
The type should be a string of characters and not integer
We must replace the comments Doctrine by here
I make the patch with the following SED command
cat vendor/magento/module-quote/Api/Data/CartInterface.php" | sed -e "s/int\|null Reserved order ID/string\|null Reserved order ID/g" -e "s/int \$reservedOrderId/string \$reservedOrderId/g"
The text was updated successfully, but these errors were encountered: