-
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
26117: "Current user does not have an active cart" even when he actually has one #27187
26117: "Current user does not have an active cart" even when he actually has one #27187
Conversation
Hi @engcom-Charlie. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
throw new GraphQlNoSuchEntityException( | ||
__('Current user does not have an active cart.') | ||
); | ||
throw new GraphQlNoSuchEntityException(__('This cart isn\'t active.')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw new GraphQlNoSuchEntityException(__('This cart isn\'t active.')); | |
throw new GraphQlNoSuchEntityException(__('The cart isn\'t active.')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my minor comment.
Functional build failures are not related tom this change.
Hi @lenaorobei, thank you for the review.
|
…when he actually has one #27187
Hi @engcom-Charlie, thank you for your contribution! |
Description (*)
I've changed the error message, also covered change by test. Old message
Current user does not have an active cart
was incorrect because it throws in case of a quote from a request isn't active, while the user can have another active cart.Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Please see #26117
Questions or comments
Contribution checklist (*)