Skip to content

Commit 2d41d44

Browse files
Update custom labels migration reporting and fix interface issues
1 parent c643fd1 commit 2d41d44

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

messages/assess.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,8 @@
184184
"nameMappingUndefined": "Undefined name mapping found",
185185
"experienceSiteException": "We’ve encountered an exception while processing Experience Cloud sites.",
186186
"reservedKeysFoundInPropertySet": "Reserved keys found in any of output response transformation fields: %s.",
187-
"invalidTypeAssessErrorMessage": "We couldn't assess your Omnistudio components in the %s namespace. Select the correct namespace and try again"
187+
"invalidTypeAssessErrorMessage": "We couldn't assess your Omnistudio components in the %s namespace. Select the correct namespace and try again",
188+
"errorFetchingCustomLabels": "Error fetching custom labels: %s",
189+
"customLabelAssessmentSummary": "Custom Label with same name and different value is already exist without namespace.",
190+
"generatedCustomLabelAssessmentReportPage": "Generated custom label assessment report page %s of %s with %s labels"
188191
}

src/utils/customLabels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class CustomLabelsUtil {
8484

8585
const canBeAutomated = processedLabels.filter((label) => label.assessmentStatus === 'Can be Automated').length;
8686

87-
Logger.log(
87+
Logger.logVerbose(
8888
`Found ${labelsNeedingManualIntervention.length} labels that need manual intervention out of ${processedLabels.length} total`
8989
);
9090

src/utils/interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export interface MigratedRecordInfo {
1515
migratedId?: string;
1616
migratedName?: string;
1717
warnings: string[];
18+
localizationStatus?: Record<string, string>;
1819
}
1920

2021
export interface DiffPair {

src/utils/resultsbuilder/assessmentReporter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ export class AssessmentReporter {
6464
Constants.Flexcard,
6565
Constants.IntegrationProcedure,
6666
Constants.DataMapper,
67-
Constants.GlobalAutoNumber
67+
Constants.GlobalAutoNumber,
68+
Constants.CustomLabel
6869
);
6970
this.createDocument(
7071
path.join(this.basePath, this.omniscriptAssessmentFileName),

0 commit comments

Comments
 (0)