Skip to content

Commit ddb63a0

Browse files
chore: blitz fixes
1 parent 523810f commit ddb63a0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

messages/assess.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"invalidOrRepeatingOmniscriptElementNames": "Omniscript with invalid or duplicate element names found. Rename your Omniscript elements and try again.",
1919
"duplicatedCardName": "Flexcard with duplicate name found in this org. Modify your Flexcard and try again.",
2020
"duplicatedDrName": "Data Mapper with duplicate name found in this org. Rename your Data Mapper and try again.",
21-
"duplicatedOSName": "Omniscript with duplicate name, type, subtype, or language found in this org. Modify your Omniscript and try again.",
21+
"duplicatedOSName": "%s with duplicate name, type, subtype, or language found in this org. Modify your %s and try again.",
2222
"duplicatedName": "Duplicated name %s",
2323
"lowerVersionDuplicateOmniscriptName": "A %s with name \"%s\" will not be migrated because lower version of same %s will be marked as duplicate, which could lead to conflicts during migration.",
2424
"errorWhileActivatingOs": "We couldn't activate your %s:",
@@ -173,7 +173,7 @@
173173
"manualInterventionForExperienceSite": "We couldn’t process the %s component because no key was found.",
174174
"manualInterventionForExperienceSiteAsFailure": "We couldn’t process the %s component. ",
175175
"manualInterventionForExperienceSiteAsDuplicateKey": "We couldn’t process the %s component because a duplicate key was found. ",
176-
"manualInterventionForExperienceSiteConfiguration": "We couldn’t process the %s Experience site because of the error %s in the Experience Cloud site configuration.",
176+
"manualInterventionForExperienceSiteConfiguration": "We couldn’t process the %s Experience site because of error in the Experience Cloud site configuration.",
177177
"updatingStorageForOmniscipt": "Preparing storage for Omniscripts",
178178
"keyAlreadyInStorage": "The %s %s name already exists in storage.",
179179
"flexcardStorageProcessingStarted": "Preparing storage for Flexcards.",

messages/migrate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lowerVersionDuplicateCardName": "Flexcard with name %s can't be migrated because lower version of same card is probable duplicate. Rename your Flexcard and try again.",
2323
"duplicatedCardName": "Flexcard with duplicate name %s found in this org. Rename your Flexcard and try again.",
2424
"duplicatedDrName": "Data Mapper with duplicate name found in this org. Rename your Data Mapper and try again.",
25-
"duplicatedOSName": "Omniscript with duplicate name, type, subtype, or language found in this org. Modify your Omniscript and try again.",
25+
"duplicatedOSName": "%s with duplicate name, type, subtype, or language found in this org. Modify your %s and try again.",
2626
"lowerVersionDuplicateOSName": "%s with name %s can't be migrated because lower version of same %s is probable duplicate. Rename your %s and try again.",
2727
"errorWhileActivatingOs": "We couldn't activate your %s:",
2828
"errorWhileActivatingCard": "We couldn't activate your Flexcard:",
@@ -166,7 +166,7 @@
166166
"emptyTargetData": "The Target Name is empty. Check your Experience Cloud site configuration",
167167
"manualInterventionForExperienceSiteAsFailure": "We couldn’t process the %s component.",
168168
"manualInterventionForExperienceSiteAsDuplicateKey": "We couldn’t process the %s component because a duplicate key was found.",
169-
"manualInterventionForExperienceSiteConfiguration": "We couldn’t process the %s Experience site because of the error %s in the Experience Cloud site configuration.",
169+
"manualInterventionForExperienceSiteConfiguration": "We couldn’t process the %s Experience site because of error in the Experience Cloud site configuration.",
170170
"updatingStorageForOmniscipt": "Preparing storage for Omniscripts %s",
171171
"keyAlreadyInStorage": "The %s %s name already exists in storage.",
172172
"flexcardStorageProcessingStarted": "Preparing storage for Flexcards.",

src/migration/related/ExperienceSiteMigration.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,8 @@ export class ExperienceSiteMigration extends BaseRelatedObjectMigration {
441441
// Look up in osStandardStorage using the object key
442442
const targetDataFromStorage: OmniScriptStorage = StorageUtil.getStandardOmniScript(storage, lookupKey);
443443

444-
if (this.shouldAddWarning(targetDataFromStorage)) {
444+
if (targetDataFromStorage === undefined || targetDataFromStorage.migrationSuccess === false) {
445+
// For the standard wrapper we only need to check the storage empty and migrationSuccess status
445446
const originalKey = `${currentType}_${currentSubType}_${currentLanguage}`;
446447
const warningMsg: string = this.getWarningMessage(originalKey, targetDataFromStorage);
447448
experienceSiteAssessmentInfo.warnings.push(warningMsg);

0 commit comments

Comments
 (0)