Problem/Motivation
When going to the route /helpdesk/issue/#/resolve
we get the following error message in watchdog:
Notice: Undefined property: stdClass::$base in Drupal\helpdesk_zendesk\Plugin\HelpdeskIntegration\Zendesk->resolveIssue() (Zeile 243 in /var/www/web/modules/contrib/helpdesk_zendesk/src/Plugin/HelpdeskIntegration/Zendesk.php)
#0 /var/www/web/core/includes/bootstrap.inc(346): _drupal_error_handler_real(8, 'Undefined prope...', '/var/www/drupal...', 243)
#1 /var/www/web/modules/contrib/helpdesk_zendesk/src/Plugin/HelpdeskIntegration/Zendesk.php(243): _drupal_error_handler(8, 'Undefined prope...', '/var/www/drupal...', 243, Array)
#2 /var/www/web/modules/contrib/helpdesk_integration/src/Service.php(221): Drupal\helpdesk_zendesk\Plugin\HelpdeskIntegration\Zendesk->resolveIssue(Object(Drupal\helpdesk_integration\Entity\Helpdesk), Object(Drupal\helpdesk_integration\Entity\Issue))
#3 /var/www/web/modules/contrib/helpdesk_integration/src/Controller/ResolveIssue.php(68): Drupal\helpdesk_integration\Service->resolveIssue(Object(Drupal\helpdesk_integration\Entity\Issue))
#4 [internal function]: Drupal\helpdesk_integration\Controller\ResolveIssue->build(Object(Drupal\helpdesk_integration\Entity\Issue))
#5 /var/www/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#6 /var/www/web/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#7 /var/www/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#8 /var/www/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#9 /var/www/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#10 /var/www/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#11 /var/www/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /var/www/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /var/www/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /var/www/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /var/www/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /var/www/web/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /var/www/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#20 {main}