Skip to content

Commit

Permalink
Fix Pipeline handling of EIS Role MVEAs (CFM-33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Jan 20, 2024
1 parent 39b6778 commit 5559c0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/Model/Table/PipelinesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1682,12 +1682,12 @@ protected function syncPerson(
// Default the new attribute to not frozen
$newdata['frozen'] = false;

$newentity = $this->Cos->People->PersonRoles->$t->newEntity($newdata, ['associated' => []]);
$this->Cos->People->PersonRoles->$t->saveOrFail($newentity, ['associated' => false]);
$newrentity = $this->Cos->People->PersonRoles->$t->newEntity($newdata, ['associated' => []]);
$this->Cos->People->PersonRoles->$t->saveOrFail($newrentity, ['associated' => false]);

$this->llog('trace', "Added PersonRole $t " . $newentity->id . " to Person Role from External Identity Role $t " . $relatedEntity->id);
$this->llog('trace', "Added PersonRole $t " . $newrentity->id . " to Person Role from External Identity Role $t " . $relatedEntity->id);

$seenRelatedModelIds[] = $newentity->id;
$seenRelatedModelIds[] = $newrentity->id;
}
}
}
Expand Down

0 comments on commit 5559c0b

Please sign in to comment.