apigee / apigee-api-catalog-drupal

Manage your API catalog within Drupal's content management approach
https://www.drupal.org/project/apigee_api_catalog
GNU General Public License v2.0
17 stars 16 forks source link

Missing dependency of entity module #141

Closed phdhiren closed 2 years ago

phdhiren commented 3 years ago

Description

It seems missing dependency of entity module in info.yml, however it is there in composer.json

Steps to Reproduce

Steps to reproduce the behavior:

  1. Install module with Drupal 9 core
  2. Navigate to admin>content page
  3. Navigate to newly created API Doc

Actual Behavior

`Error: Class 'Drupal\entity\Routing\RevisionRouteProvider' not found in Drupal\Core\Entity\EntityTypeManager->createHandlerInstance() (line 276 of /var/www/html/drupal9/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php)

0 /var/www/html/drupal9/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(231): Drupal\Core\Entity\EntityTypeManager->createHandlerInstance('Drupal\entity\R...', Object(Drupal\Core\Entity\ContentEntityType))

1 /var/www/html/drupal9/web/core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php(43): Drupal\Core\Entity\EntityTypeManager->getRouteProviders('apidoc')

2 [internal function]: Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber->onDynamicRouteEvent(Object(Drupal\Core\Routing\RouteBuildEvent), 'routing.route_d...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))

3 /var/www/html/drupal9/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Drupal\Core\Routing\RouteBuildEvent), 'routing.route_d...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))

4 /var/www/html/drupal9/web/core/lib/Drupal/Core/Routing/RouteBuilder.php(184): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Drupal\Core\Routing\RouteBuildEvent), 'routing.route_d...')

5 /var/www/html/drupal9/web/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php(83): Drupal\Core\Routing\RouteBuilder->rebuild()

6 /var/www/html/drupal9/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php(363): Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild()

7 /var/www/html/drupal9/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install(Array, true)

8 /var/www/html/drupal9/web/core/modules/system/src/Form/ModulesListConfirmForm.php(173): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array)

9 [internal function]: Drupal\system\Form\ModulesListConfirmForm->submitForm(Array, Object(Drupal\Core\Form\FormState))

10 /var/www/html/drupal9/web/core/lib/Drupal/Core/Form/FormSubmitter.php(113): call_user_func_array(Array, Array)

11 /var/www/html/drupal9/web/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState))

12 /var/www/html/drupal9/web/core/lib/Drupal/Core/Form/FormBuilder.php(593): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState))

13 /var/www/html/drupal9/web/core/lib/Drupal/Core/Form/FormBuilder.php(321): Drupal\Core\Form\FormBuilder->processForm('systemmodules...', Array, Object(Drupal\Core\Form\FormState))

14 /var/www/html/drupal9/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\system\Form\ModulesListConfirmForm), Object(Drupal\Core\Form\FormState))

15 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))

16 /var/www/html/drupal9/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)

17 /var/www/html/drupal9/web/core/lib/Drupal/Core/Render/Renderer.php(578): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}()

18 /var/www/html/drupal9/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))

19 /var/www/html/drupal9/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)

20 /var/www/html/drupal9/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}()

21 /var/www/html/drupal9/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)

22 /var/www/html/drupal9/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

23 /var/www/html/drupal9/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

24 /var/www/html/drupal9/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

25 /var/www/html/drupal9/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)

26 /var/www/html/drupal9/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

27 /var/www/html/drupal9/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

28 /var/www/html/drupal9/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

29 /var/www/html/drupal9/web/core/lib/Drupal/Core/DrupalKernel.php(717): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

30 /var/www/html/drupal9/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))

31 {main}`

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.node.reimport_spec_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of /var/www/html/drupal9/web/core/lib/Drupal/Core/Routing/RouteProvider.php).

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.api_catalog_admin.page_1" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 208 of /var/www/html/drupal9/web/core/lib/Drupal/Core/Routing/RouteProvider.php).

Expected Behavior

No error should be logged

Version Info

Drupal 9.2.10 Apigee API Catalog 8.x-2.6