Unexpected error on model export

Issue information

From user: rkoller

Related to !218 (merged)

Contribution record

Fork management

</code><h3 id="summary-problem-motivation">Problem/Motivation</h3>
i wanted to export a bpmn model that contains every event, action, and condition for https://www.drupal.org/project/eca/issues/3305587#comment-14666991 . but i ran into the following error on export:

<code>The website encountered an unexpected error. Please try again later.
TypeError: Drupal\eca\Service\Modellers::getNestedDependencies(): Argument #2 ($dependencies) must be of type array, null given, called in /var/www/html/web/modules/contrib/eca/src/Service/Modellers.php on line 338 in Drupal\eca\Service\Modellers->getNestedDependencies() (line 325 of modules/contrib/eca/src/Service/Modellers.php).
Drupal\eca\Service\Modellers->getNestedDependencies(Array, NULL) (Line: 338)
Drupal\eca\Service\Modellers->getNestedDependencies(Array, Array) (Line: 288)
Drupal\eca\Service\Modellers->exportArchive(Object, 'temporary://bpmn_io-process_z6jzc9k.tar.gz') (Line: 300)
Drupal\eca_modeller_bpmn\ModellerBpmnBase->export() (Line: 186)
Drupal\eca_ui\Controller\EcaController->export('process_z6jzc9k')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

the export of smaller models worked without any error. might be the case that not all fields are filled. the main purpose of that model was to see the micro copy of the model elements in context.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information