magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Dependencies of the Module Magento_Catalog are incomplete #28089

Closed jeromecx closed 3 years ago

jeromecx commented 4 years ago

Preconditions (*)

  1. Magento CE 2.3.5

Steps to reproduce (*)

  1. Disable all modules

    bin/magento module:disable --all
  2. Enable Magento_Catalog and all its dependencies

    bin/magento module:enable \
    Magento_Store \
    Magento_Directory \
    Magento_Config \
    Magento_Theme \
    Magento_Backend \
    Magento_Variable \
    Magento_Eav \
    Magento_Customer \
    Magento_Backup \
    Magento_Indexer \
    Magento_Authorization \
    Magento_Cms \
    Magento_Catalog \
    Magento_Quote \
    Magento_Security \
    Magento_CatalogImportExport \
    Magento_Rule \
    Magento_CatalogInventory \
    Magento_CatalogRule \
    Magento_Msrp \
    Magento_CatalogUrlRewrite \
    Magento_Widget \
    Magento_SalesSequence \
    Magento_Payment \
    Magento_Sales \
    Magento_CmsUrlRewrite \
    Magento_User \
    Magento_Checkout \
    Magento_Contact \
    Magento_Cron \
    Magento_Captcha \
    Magento_Integration \
    Magento_Downloadable \
    Magento_Deploy \
    Magento_Developer \
    Magento_AsynchronousOperations \
    Magento_ImportExport \
    Magento_Email \
    Magento_GiftMessage \
    Magento_Ui \
    Magento_PageCache \
    Magento_Bundle \
    Magento_Reports \
    Magento_Shipping \
    Magento_MediaStorage \
    Magento_Newsletter \
    Magento_SalesRule \
    Magento_ProductAlert \
    Magento_RequireJs \
    Magento_Review \
    Magento_Rss \
    Magento_UrlRewrite \
    Magento_Tax \
    Magento_Translation \
    Magento_Wishlist
  3. Go to checkout page

https://magento2.test/checkout/

Expected result (*)

  1. Empty cart

Actual result (*)

1 exception(s): Exception #0 (BadMethodCallException): Missing required argument $itemResolvers of Magento\Catalog\Model\Product\Configuration\Item\ItemResolverComposite.

Exception #0 (BadMethodCallException): Missing required argument $itemResolvers of Magento\Catalog\Model\Product\Configuration\Item\ItemResolverComposite.

#1 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34]
#2 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59]
#3 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:70]
#4 Magento\Framework\ObjectManager\ObjectManager->get() called at [vendor/magento/module-checkout/Block/Cart/Item/Renderer.php:139]
#5 Magento\Checkout\Block\Cart\Item\Renderer->__construct() called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121]
#6 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66]
#7 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#8 Magento\Framework\ObjectManager\ObjectManager->create() called at [vendor/magento/framework/View/Element/BlockFactory.php:46]
#9 Magento\Framework\View\Element\BlockFactory->createBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:272]
#10 Magento\Framework\View\Layout\Generator\Block->getBlockInstance() called at [vendor/magento/framework/View/Layout/Generator/Block.php:252]
#11 Magento\Framework\View\Layout\Generator\Block->createBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:229]
#12 Magento\Framework\View\Layout\Generator\Block->generateBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:134]
#13 Magento\Framework\View\Layout\Generator\Block->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:81]
#14 Magento\Framework\View\Layout\GeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:352]
#15 Magento\Framework\View\Layout->generateElements() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#16 Magento\Framework\View\Layout\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#17 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#18 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:91]
#19 Magento\Framework\View\Layout\Interceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129]
#20 Magento\Framework\View\Layout\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:55]
#21 Magento\Framework\View\Page\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65]
#22 Magento\Framework\View\Layout\Builder->build() called at [vendor/magento/framework/View/Page/Config.php:224]
#23 Magento\Framework\View\Page\Config->build() called at [vendor/magento/framework/View/Page/Config.php:247]
#24 Magento\Framework\View\Page\Config->getTitle() called at [vendor/magento/module-checkout/Controller/Cart/Index.php:57]
#25 Magento\Checkout\Controller\Cart\Index->execute() called at [generated/code/Magento/Checkout/Controller/Cart/Index/Interceptor.php:24]
#26 Magento\Checkout\Controller\Cart\Index\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#27 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#28 Magento\Checkout\Controller\Cart\Index\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#29 Magento\Checkout\Controller\Cart\Index\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#30 Magento\Checkout\Controller\Cart\Index\Interceptor->___callPlugins() called at [generated/code/Magento/Checkout/Controller/Cart/Index/Interceptor.php:39]
#31 Magento\Checkout\Controller\Cart\Index\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:162]
#32 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:98]
#33 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#34 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#35 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#36 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#37 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73]
#38 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#39 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#40 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#41 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#42 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#43 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]
m2-assistant[bot] commented 4 years ago

Hi @jeromecx. Thank you for your report. To help us process this issue please make sure that you provided the following information:

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:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@jeromecx do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?


jeromecx commented 4 years ago

Enabling Magento_ConfigurableProduct solve the problem

bin/magento module:enable Magento_ConfigurableProduct
jeromecx commented 3 years ago

I just reproduce the issue now on Magento 2.4.1. Also, enabling Magento_ConfigurableProduct solve the problem in the same way.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions!