File tree Expand file tree Collapse file tree 5 files changed +5
-10
lines changed
Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 216216 "packagesHaveSameValue" : " Both TheFirstInstalledOmniPackage and InstalledIndustryPackage have the same value." ,
217217 "packagesHaveDifferentValue" : " Both the InstalledIndustryPackage and TheFirstInstalledOmniPackage have different values." ,
218218 "failedToCheckPackagesValue" : " Failed to check the value of packages in Omni Interaction Configuration." ,
219- "isStandardDataModelOrg" : " The org is on standard data model: %s" ,
220- "isFoundationPackageOrg" : " The org is on Omnistudio Foundation package: %s" ,
221219 "packageDetails" : " Your org contains only the TheFirstInstalledOmniPackage Omni Interaction Configuration." ,
222220 "orgUsecaseDetails" : " The org is on %s data model with %s " ,
223- "globalAutoNumberUnSupportedInOmnistudioPackage" : " Omni Global Auto Number is not supported in Omnistudio package orgs."
221+ "globalAutoNumberUnSupportedInOmnistudioPackage" : " Omni Global Auto Number is not supported in Omnistudio Foundation package orgs."
224222}
Original file line number Diff line number Diff line change 319319 "packagesHaveSameValue" : " Both TheFirstInstalledOmniPackage and InstalledIndustryPackage have the same value." ,
320320 "packagesHaveDifferentValue" : " Both the InstalledIndustryPackage and TheFirstInstalledOmniPackage have different values." ,
321321 "failedToCheckPackagesValue" : " Failed to check the value of packages in Omni Interaction Configuration." ,
322- "isStandardDataModelOrg" : " The org is on standard data model: %s" ,
323- "isFoundationPackageOrg" : " The org is on Omnistudio Foundation package: %s" ,
324322 "packageDetails" : " Your org contains only the TheFirstInstalledOmniPackage Omni Interaction Configuration." ,
325323 "orgUsecaseDetails" : " The Org is on %s data model with %s " ,
326- "globalAutoNumberUnSupportedInOmnistudioPackage" : " Omni Global Auto Number is not supported in Omnistudio package orgs."
324+ "globalAutoNumberUnSupportedInOmnistudioPackage" : " Omni Global Auto Number is not supported in Omnistudio Foundation package orgs."
327325}
Original file line number Diff line number Diff line change @@ -224,7 +224,8 @@ export class OrgPreferences {
224224
225225 return false ;
226226 } catch ( error ) {
227- Logger . error ( 'Error checking foundation package' ) ;
227+ const errMsg = error instanceof Error ? error . message : String ( error ) ;
228+ Logger . error ( `Error checking foundation package : ${ errMsg } ` ) ;
228229 return false ;
229230 }
230231 }
Original file line number Diff line number Diff line change @@ -372,8 +372,6 @@ export class OrgUtils {
372372 ) ;
373373
374374 const isFoundationPackage : boolean = await OrgPreferences . isFoundationPackage ( connection ) ;
375- Logger . logVerbose ( messages . getMessage ( 'isStandardDataModelOrg' , [ omniStudioOrgPermissionEnabled ] ) ) ;
376- Logger . logVerbose ( messages . getMessage ( 'isFoundationPackageOrg' , [ isFoundationPackage ] ) ) ;
377375
378376 const orgDataModel = omniStudioOrgPermissionEnabled ? this . standardDataModel : this . customDataModel ;
379377 const orgPackageType = isFoundationPackage
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export class GlobalAutoNumberAssessmentReporter {
4040 if ( isFoundationPackage ) {
4141 return {
4242 ...baseReport ,
43- notSupportedMessage : 'Omni Global Auto Number is not supported in Omnistudio package orgs.' ,
43+ notSupportedMessage : 'Omni Global Auto Number is not supported in Omnistudio Foundation package orgs.' ,
4444 } ;
4545 }
4646
You can’t perform that action at this time.
0 commit comments