Closed (fixed)
Project:
Cloud
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
12 Aug 2021 at 11:39 UTC
Updated:
26 Aug 2021 at 22:04 UTC
Jump to comment: Most recent, Most recent file
Error: Class "Drupal\k8s\Service\K8sEntityBase" not found in Drupal\k8s\Service\K8sBatchOperations::updateHorizontalPodAutoscaler() (line 2878 of /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/src/Service/K8sBatchOperations.php)
#0 /var/www/html/web/core/includes/batch.inc(295): Drupal\k8s\Service\K8sBatchOperations::updateHorizontalPodAutoscaler()
#1 /var/www/html/web/core/includes/form.inc(954): _batch_process()
#2 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/src/Service/K8sService.php(2255): batch_process()
#3 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/src/Service/K8sService.php(2380): Drupal\k8s\Service\K8sService->runBatch()
#4 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/src/Service/K8sService.php(852): Drupal\k8s\Service\K8sService->updateEntities()
#5 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/k8s.module(160): Drupal\k8s\Service\K8sService->updateHorizontalPodAutoscalers()
#6 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/k8s.module(92): k8s_update_resources()
#7 [internal function]: k8s_cloud_config_update()
#8 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array()
#9 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(199): Drupal\Core\Extension\ModuleHandler->invokeAll()
#10 /var/www/html/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(800): Drupal\Core\Entity\EntityStorageBase->invokeHook()
#11 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(530): Drupal\Core\Entity\ContentEntityStorageBase->invokeHook()
#12 /var/www/html/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(685): Drupal\Core\Entity\EntityStorageBase->doPostSave()
#13 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(455): Drupal\Core\Entity\ContentEntityStorageBase->doPostSave()
#14 /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(801): Drupal\Core\Entity\EntityStorageBase->save()
#15 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php(339): Drupal\Core\Entity\Sql\SqlContentEntityStorage->save()
#16 /var/www/html/web/modules/contrib/cloud/src/Entity/CloudConfig.php(276): Drupal\Core\Entity\EntityBase->save()
#17 /var/www/html/web/modules/contrib/cloud/src/Form/CloudContentForm.php(113): Drupal\cloud\Entity\CloudConfig->save()
#18 /var/www/html/web/modules/contrib/cloud/src/Form/CloudConfigForm.php(68): Drupal\cloud\Form\CloudContentForm->save()
#19 [internal function]: Drupal\cloud\Form\CloudConfigForm->save()
#20 /var/www/html/web/core/lib/Drupal/Core/Form/FormSubmitter.php(113): call_user_func_array()
#21 /var/www/html/web/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers()
#22 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(592): Drupal\Core\Form\FormSubmitter->doSubmitForm()
#23 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(320): Drupal\Core\Form\FormBuilder->processForm()
#24 /var/www/html/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#25 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#26 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#27 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(578): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#28 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#29 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#30 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#31 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#32 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle()
#33 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle()
#34 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#35 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#36 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle()
#37 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#38 /var/www/html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#39 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle()
#40 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#41 {main}| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3227852-8.patch | 1.09 KB | xld |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
yasComment #4
xld commentedComment #5
xld commentedComment #6
xld commented@Yas, from what I could find, we were only missing a 'use statement'. Please review my patch.
Comment #7
xld commentedComment #8
xld commentedComment #9
yas@XLD
Thank you for fixing the issue. It looks good to me. I'll merge the patch to
4.xand close this issue as Fixed.Comment #12
yas