ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 26 - AD0-E718 discussion

Report
Export

Since the last production deployment, customers can not complete checkout. The error logs show the following message multiple times:

The Architect finds a deployed feature that should limit delivery for some specific postcodes.

The Architect sees the following code deployed in/webapi_rest \di .xml and etc\frontend\di xml

Which step should the Architect perform to solve the issue?

A.
Inject an instance of \Magentro\Quote\API\CartRepostoryInterface and receive cart instance via$this->cartRepository->get($this-session->getQucteId())
Answers
A.
Inject an instance of \Magentro\Quote\API\CartRepostoryInterface and receive cart instance via$this->cartRepository->get($this-session->getQucteId())
B.
Replace the injected dependency\Magento\Checkout\Model\Session\With\Magento\Framework\Session\SessionManagerInterface
Answers
B.
Replace the injected dependency\Magento\Checkout\Model\Session\With\Magento\Framework\Session\SessionManagerInterface
C.
Change 'after' plugin with 'around' plugin. The issue is being caused by calling the result provider code after the code of the original method.
Answers
C.
Change 'after' plugin with 'around' plugin. The issue is being caused by calling the result provider code after the code of the original method.
Suggested answer: C
asked 02/10/2024
CHEUNG KA FAI
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first