Skip to content
Snippets Groups Projects

Issue #3384216: bugs in code of MaestrEngine::setProcessVariable

Open Zhang Terry requested to merge issue/maestro-3384216:3384216-bugs-in-code into 3.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -406,7 +406,7 @@ class MaestroEngine {
@@ -406,7 +406,7 @@ class MaestroEngine {
// now we determine if there's any production assignments done on this variable
// now we determine if there's any production assignments done on this variable
// by_variable = 1, process_variable needs to match our variable.
// by_variable = 1, process_variable needs to match our variable.
$query = \Drupal::entityTypeManager()->getStorage('maestro_production_assignments')->getQuery();
$query = \Drupal::entityTypeManager()->getStorage('maestro_production_assignments')->getQuery();
$query ->condition('process_variable', $varID)
$query ->condition('process_variable', $varID, 'IN')
->accessCheck(FALSE)
->accessCheck(FALSE)
->condition('by_variable', '1')
->condition('by_variable', '1')
->condition('task_completed', '0');
->condition('task_completed', '0');
Loading