bugs in code of MaestrEngine::setProcessVariable

Created on 30 August 2023, over 1 year ago
Updated 28 September 2023, about 1 year ago

Problem/Motivation

Warning: Undefined array key 0 in Drupal\Core\Database\Query\Condition->condition() (line 114 of core/lib/Drupal/Core/Database/Query/Condition.php).
Drupal\Core\Database\Query\Condition->condition('maestro_production_assignments.process_variable', Array, '=') (Line: 27)
Drupal\Core\Database\Query\Select->condition('maestro_production_assignments.process_variable', Array, NULL) (Line: 77)
Drupal\Core\Entity\Query\Sql\Condition->compile(Object) (Line: 176)
Drupal\Core\Entity\Query\Sql\Query->compile() (Line: 81)
Drupal\Core\Entity\Query\Sql\Query->execute() (Line: 413)
Drupal\maestro\Engine\MaestroEngine::setProcessVariable('workflow_current_stage', 2, '95') (Line: 1874)
Drupal\maestro\Engine\MaestroEngine->createProductionTask('int3', 'simple_parallel_to_serial', '95') (Line: 1642)
Drupal\maestro\Engine\MaestroEngine->nextStep('simple_parallel_to_serial', 'or', '95', 0) (Line: 1473)
Drupal\maestro\Engine\MaestroEngine->cleanQueue() (Line: 48)
Drupal\maestro\Controller\MaestroOrchestrator->orchestrate('aaa') (Line: 35)
Drupal\maestro_taskconsole\Controller\MaestroTaskConsoleController->getTasks('0')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 583)
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: 166)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 74)
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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇳China zterry95

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024