Skip to content

Commit

Permalink
fix(YSP-593): do not overwrite old data each time
Browse files Browse the repository at this point in the history
Marc has written about this, and it looks as if when an item is no
longer present in the payload that it gets wiped, which we do not want.

So we removed this; more testing needs to be done on the effects of
changing the data and how it updates.
  • Loading branch information
dblanken-yale committed Sep 26, 2024
1 parent f357c85 commit 9d19e7c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ public function runMigration($migration) {

// We choose to use syncSource since we want to recreate the block for
// update.
if ($migration === 'servicenow_knowledge_base_article_block') {
$migrationInstance->set('syncSource', TRUE);
$migration_update = $migrationInstance->getIdMap();
$migration_update->prepareUpdate();
}
/*if ($migration === 'servicenow_knowledge_base_article_block') {*/
/* $migrationInstance->set('syncSource', TRUE);*/
/* $migration_update = $migrationInstance->getIdMap();*/
/* $migration_update->prepareUpdate();*/
/*}*/
$message = new MigrateMessage();
$executable = new MigrateExecutable($migrationInstance, $message);
$executable->import();
Expand Down

0 comments on commit 9d19e7c

Please sign in to comment.