Skip to content

Commit

Permalink
Merge pull request #9059 from defstat/i9047
Browse files Browse the repository at this point in the history
[PKP-LIB][main] #9047 Missing Variables Fix
  • Loading branch information
jonasraoni authored Jun 2, 2023
2 parents 0109f00 + f22aa51 commit 841a32d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/migration/upgrade/v3_4_0/PreflightCheckMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function up(): void

if (!$conflictingEmailKeys->isEmpty()) {
foreach ($conflictingEmailKeys as $conflictingEmailKey) {
$exceptionMessage .= 'A row with email_key="' . $conflictingEmailKey->email_key . '" found in table email_templates_default_data which will conflict with other rows specific to the locale key "' . $localeCode . '" after the migration. Please review this row before upgrading. Consider keeping only the ' . $defaultLocale . ' locale in the installation' . PHP_EOL;
$exceptionMessage .= 'A row with email_key="' . $conflictingEmailKey->email_key . '" found in table email_templates_default_data which will conflict with other rows specific to the locale key "' . $localeTarget . '" after the migration. Please review this row before upgrading. Consider keeping only the ' . $localeSource . ' locale in the installation' . PHP_EOL;
}
}
}
Expand Down Expand Up @@ -106,7 +106,7 @@ public function up(): void

if (!$conflictingSettings->isEmpty()) {
foreach ($conflictingSettings as $conflictingSetting) {
$settingsExceptionMessage .= 'A row with "' . $entityIdColumnName . '"="' . $conflictingSetting->{$entityIdColumnName} . '" and "setting_name"="' . $conflictingSetting->setting_name . '" found in table "' . $tableName . '" which will conflict with other rows specific to the locale key "' . $localeCode . '" after the migration. Please review this row before upgrading.' . PHP_EOL;
$settingsExceptionMessage .= 'A row with "' . $entityIdColumnName . '"="' . $conflictingSetting->{$entityIdColumnName} . '" and "setting_name"="' . $conflictingSetting->setting_name . '" found in table "' . $tableName . '" which will conflict with other rows specific to the locale key "' . $localeTarget . '" after the migration. Please review this row before upgrading.' . PHP_EOL;
}
}
}
Expand Down

0 comments on commit 841a32d

Please sign in to comment.