TypeError: Drupal\eca_modeller_bpmn\ModellerBpmnBase::buildConfigurationForm()

Issue information

From user: fox_01

Related to !442 (merged)

Contribution record

Fork management

Problem/Motivation

After Upgrading from Drupal 10.2.5 to 10.3.1 and ECA 1.x to 2.x i get the following error when creating or editing an existing BPMN ECA flow. Other modellers work.

Modules used

  • Machine name: bpmn_io - Version: 2.0.0
  • Machine name: eca -Version: 2.0.1
TypeError: Drupal\eca_modeller_bpmn\ModellerBpmnBase::buildConfigurationForm(): Return value must be of type array, null returned in Drupal\eca_modeller_bpmn\ModellerBpmnBase->buildConfigurationForm() (line 584 of modules/contrib/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php).
Drupal\eca_modeller_bpmn\ModellerBpmnBase->getTemplates() (Line: 85)
Drupal\bpmn_io\Plugin\ECA\Modeller\BpmnIo->edit() (Line: 208)
Drupal\eca_ui\Controller\EcaController->edit('process_xon9our')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->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: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 49)
Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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