From 807a710e1d05990c3aff250d554b867c95041be6 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Tue, 1 Oct 2024 18:39:54 +0200 Subject: [PATCH] Monitoring config fix + deployment errors parsing enhancements (#810) * Monitoring config: Fix way to define how to upload connected app * New deployment tip: Couldn't retrieve or load information on the field + fix parsing * Fix hyperlinks in doc * cspell * [Mega-Linter] Apply linters fixes --------- Co-authored-by: nvuillam --- .github/linters/.cspell.json | 1 + CHANGELOG.md | 7 +++++++ build.cjs | 2 +- ...esforce-deployment-assistant-error-list.md | 16 ++++++++++++++++ .../sfdx-hardis-json-schema-parameters.html | 2 +- .../A-sharing-rule-may-be-useless.md | 2 +- .../API-Version-error.md | 2 +- ...Allow-deployment-with-pending-Apex-Jobs.md | 2 +- .../Async-exception-in-test-class.md | 2 +- ...ytics--A-Recipe-must-specify-a-DataFlow.md | 2 +- .../Campaign-can-not-be-updated.md | 2 +- ...ot-change-field-type-to-a-formula-field.md | 2 +- ...Can-not-change-field-type-with-picklist.md | 2 +- ...an-not-change-type-due-to-existing-data.md | 2 +- .../Can-not-delete-custom-field.md | 2 +- .../Can-not-delete-record-type.md | 2 +- .../Can-not-find-folder.md | 2 +- .../Can-not-find-user--2-.md | 2 +- .../Can-not-find-user.md | 2 +- ...test-item-deployment-in-simulation-mode.md | 2 +- ...-field-to-a-Summary-from-something-else.md | 2 +- .../Change-Matching-Rule.md | 2 +- .../Condition-missing-reference.md | 2 +- ...trieve-or-load-information-on-the-field.md | 19 +++++++++++++++++++ .../Custom-field-not-found.md | 2 +- .../Custom-metadata-entry-not-found.md | 2 +- .../Custom-object-not-found.md | 2 +- ...lass-is-invalid-and-needs-recompilation.md | 2 +- .../Duplicate-label.md | 2 +- ...Duplicate-value-Platform-Action-Id-List.md | 2 +- .../Empty-source-items.md | 2 +- .../Enable-CRM-Analytics.md | 2 +- .../Error-parsing-file.md | 2 +- .../Expired-Access---Refresh-Token.md | 2 +- .../Field-not-available-for-element.md | 2 +- .../Flow-must-be-deleted-manually.md | 2 +- .../Formula-picklist-field-issue.md | 2 +- ...ent-access-rights-on-cross-reference-id.md | 2 +- .../Invalid-field-for-upsert.md | 2 +- .../Invalid-field-in-related-list.md | 2 +- .../Invalid-formula-grouping-context.md | 2 +- .../Invalid-report-type.md | 2 +- .../Invalid-scope-Mine--not-allowed.md | 2 +- docs/sf-deployment-assistant/Invalid-type.md | 2 +- ...-can-not-be-in-a-profile-permission-set.md | 2 +- .../Missing-Data-Category-Group.md | 2 +- .../Missing-Feature-Work-Com.md | 2 +- .../Missing-Quick-Action.md | 2 +- .../Missing-Sales-Team.md | 2 +- .../Missing-e-mail-template.md | 2 +- ...ing-feature-Chatter-Collaboration-Group.md | 2 +- ...ssing-feature-ContactToMultipleAccounts.md | 2 +- .../Missing-feature-Enhanced-notes.md | 2 +- .../Missing-feature-Ideas-notes.md | 2 +- .../Missing-feature-Live-Agent.md | 2 +- .../Missing-feature-Opportunity-Teams.md | 2 +- .../Missing-feature-Product-Request.md | 2 +- ...Missing-feature-Social-Customer-Service.md | 2 +- .../Missing-feature-Translation-Workbench.md | 2 +- .../Missing-field-MiddleName.md | 2 +- .../Missing-field-Suffix.md | 2 +- .../Missing-field-SyncedQuoteId.md | 2 +- .../Missing-multi-currency-field.md | 2 +- ...issing-object-referenced-in-package-xml.md | 2 +- .../Missing-profile-default-application.md | 2 +- .../sf-deployment-assistant/Missing-report.md | 2 +- docs/sf-deployment-assistant/Network-issue.md | 2 +- ...ilable-for-deploy-for-this-organization.md | 2 +- .../Not-valid-sharing-model.md | 2 +- ...s-rights-on-a-role-is-below-org-default.md | 2 +- .../Picklist-sharing-is-not-supported.md | 2 +- .../Picklist-value-not-found.md | 2 +- .../Please-choose-a-different-name.md | 2 +- .../Record-Type-not-found.md | 2 +- .../Send-email-is-disabled.md | 2 +- .../Sharing-recalculation-lock.md | 2 +- .../Sort-order-must-be-in-sequential-order.md | 2 +- .../Tableau-CRM---Wave-digest-error.md | 2 +- .../Test-classes-with-0--coverage.md | 2 +- ...nown-user-permission--CreateAuditFields.md | 2 +- ...own-user-permission--FieldServiceAccess.md | 2 +- .../Unknown-user-permission.md | 2 +- .../Unsupported-sharing-configuration.md | 2 +- .../Variable-does-not-exist.md | 2 +- .../Visibility-is-not-allowed-for-type.md | 2 +- .../XML-item-appears-more-than-once.md | 2 +- .../sharing-operation-already-in-progress.md | 2 +- src/common/utils/deployTips.ts | 5 ++++- src/common/utils/deployTipsList.ts | 9 +++++++++ src/common/utils/index.ts | 5 +++-- 90 files changed, 142 insertions(+), 86 deletions(-) create mode 100644 docs/sf-deployment-assistant/Couldn-t-retrieve-or-load-information-on-the-field.md diff --git a/.github/linters/.cspell.json b/.github/linters/.cspell.json index f91fab174..084f73772 100644 --- a/.github/linters/.cspell.json +++ b/.github/linters/.cspell.json @@ -41,6 +41,7 @@ "CCAU", "COLLECTIONURI", "COMPTES", + "Couldn", "Callout", "Catg", "Chantier", diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a47966cd..c550ddbe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta` +## [5.0.8] 2024-10-01 + +- Monitoring config: Fix way to define how to upload connected app +- New deployment tip: Couldn't retrieve or load information on the field +- Fix parsing of errors when they are unknown +- Fix SEO info in deployment tips documentation + ## [5.0.7] 2024-09-25 - hardis:org:monitoring:backup : fix issue when metadata type is unknown diff --git a/build.cjs b/build.cjs index 59b01d202..f4bf3b3d0 100644 --- a/build.cjs +++ b/build.cjs @@ -73,7 +73,7 @@ class SfdxHardisBuilder { tip.expressionRegex[0] const tipFileMd = [ "---", - `title: : ${tip.label} (Deployment assistant)`, + `title: ${tip.label} (Deployment assistant)`, `description: How to solve Salesforce deployment error ${errorDescription}`, "---", "" diff --git a/docs/salesforce-deployment-assistant-error-list.md b/docs/salesforce-deployment-assistant-error-list.md index 1b1356c2d..abc4c1135 100644 --- a/docs/salesforce-deployment-assistant-error-list.md +++ b/docs/salesforce-deployment-assistant-error-list.md @@ -222,6 +222,22 @@ There is a reference to {2} in {1}, and {2} is not found. You can either: ``` +--- +## [Couldn't retrieve or load information on the field](sf-deployment-assistant/Couldn-t-retrieve-or-load-information-on-the-field.md) + +**Detection** + +- RegExp: `Error (.*) Something went wrong. We couldn't retrieve or load the information on the field: (.*)\.` + +**Resolution** + +```shell +There is a reference to {2} in {1}, and {2} is not found. You can either: +- Commit {2} in your deployment sources and make sure it is named in package.xml +- Remove the reference to {2} in {1} + +``` + --- ## [Custom object not found](sf-deployment-assistant/Custom-object-not-found.md) diff --git a/docs/schema/sfdx-hardis-json-schema-parameters.html b/docs/schema/sfdx-hardis-json-schema-parameters.html index ee3f3f16d..46558ce65 100644 --- a/docs/schema/sfdx-hardis-json-schema-parameters.html +++ b/docs/schema/sfdx-hardis-json-schema-parameters.html @@ -5785,6 +5785,6 @@

\ No newline at end of file diff --git a/docs/sf-deployment-assistant/A-sharing-rule-may-be-useless.md b/docs/sf-deployment-assistant/A-sharing-rule-may-be-useless.md index 2db5cd248..a1cd3a135 100644 --- a/docs/sf-deployment-assistant/A-sharing-rule-may-be-useless.md +++ b/docs/sf-deployment-assistant/A-sharing-rule-may-be-useless.md @@ -1,5 +1,5 @@ --- -title: : A sharing rule may be useless (Deployment assistant) +title: A sharing rule may be useless (Deployment assistant) description: How to solve Salesforce deployment error Required field is missing: sharingCriteriaRules --- diff --git a/docs/sf-deployment-assistant/API-Version-error.md b/docs/sf-deployment-assistant/API-Version-error.md index a63afe6ce..4383a225f 100644 --- a/docs/sf-deployment-assistant/API-Version-error.md +++ b/docs/sf-deployment-assistant/API-Version-error.md @@ -1,5 +1,5 @@ --- -title: : API Version error (Deployment assistant) +title: API Version error (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) The (.*) apiVersion can't be "([0-9]+)"/gm --- diff --git a/docs/sf-deployment-assistant/Allow-deployment-with-pending-Apex-Jobs.md b/docs/sf-deployment-assistant/Allow-deployment-with-pending-Apex-Jobs.md index 5b7f976d4..34e37ab99 100644 --- a/docs/sf-deployment-assistant/Allow-deployment-with-pending-Apex-Jobs.md +++ b/docs/sf-deployment-assistant/Allow-deployment-with-pending-Apex-Jobs.md @@ -1,5 +1,5 @@ --- -title: : Allow deployment with pending Apex Jobs (Deployment assistant) +title: Allow deployment with pending Apex Jobs (Deployment assistant) description: How to solve Salesforce deployment error You can bypass this error by allowing deployments with Apex jobs in the Deployment Settings page in Setup. --- diff --git a/docs/sf-deployment-assistant/Async-exception-in-test-class.md b/docs/sf-deployment-assistant/Async-exception-in-test-class.md index 6f787e1df..f78ee19cf 100644 --- a/docs/sf-deployment-assistant/Async-exception-in-test-class.md +++ b/docs/sf-deployment-assistant/Async-exception-in-test-class.md @@ -1,5 +1,5 @@ --- -title: : Async exception in test class (Deployment assistant) +title: Async exception in test class (Deployment assistant) description: How to solve Salesforce deployment error /System.AsyncException: (.*) Apex/gm --- diff --git a/docs/sf-deployment-assistant/CRM-Analytics--A-Recipe-must-specify-a-DataFlow.md b/docs/sf-deployment-assistant/CRM-Analytics--A-Recipe-must-specify-a-DataFlow.md index f21127cc1..69b2f155f 100644 --- a/docs/sf-deployment-assistant/CRM-Analytics--A-Recipe-must-specify-a-DataFlow.md +++ b/docs/sf-deployment-assistant/CRM-Analytics--A-Recipe-must-specify-a-DataFlow.md @@ -1,5 +1,5 @@ --- -title: : CRM Analytics: A Recipe must specify a DataFlow (Deployment assistant) +title: CRM Analytics: A Recipe must specify a DataFlow (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) A Recipe must specify a Dataflow/gm --- diff --git a/docs/sf-deployment-assistant/Campaign-can-not-be-updated.md b/docs/sf-deployment-assistant/Campaign-can-not-be-updated.md index db7d08d6a..c04cf1a64 100644 --- a/docs/sf-deployment-assistant/Campaign-can-not-be-updated.md +++ b/docs/sf-deployment-assistant/Campaign-can-not-be-updated.md @@ -1,5 +1,5 @@ --- -title: : Campaign can not be updated (Deployment assistant) +title: Campaign can not be updated (Deployment assistant) description: How to solve Salesforce deployment error The object "Campaign" can't be updated --- diff --git a/docs/sf-deployment-assistant/Can-not-change-field-type-to-a-formula-field.md b/docs/sf-deployment-assistant/Can-not-change-field-type-to-a-formula-field.md index 5a2f2534d..1a09eac6c 100644 --- a/docs/sf-deployment-assistant/Can-not-change-field-type-to-a-formula-field.md +++ b/docs/sf-deployment-assistant/Can-not-change-field-type-to-a-formula-field.md @@ -1,5 +1,5 @@ --- -title: : Can not change field type to a formula field (Deployment assistant) +title: Can not change field type to a formula field (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Cannot update a field from a Formula to something else/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-change-field-type-with-picklist.md b/docs/sf-deployment-assistant/Can-not-change-field-type-with-picklist.md index b07fb6b70..32551dc22 100644 --- a/docs/sf-deployment-assistant/Can-not-change-field-type-with-picklist.md +++ b/docs/sf-deployment-assistant/Can-not-change-field-type-with-picklist.md @@ -1,5 +1,5 @@ --- -title: : Can not change field type with picklist (Deployment assistant) +title: Can not change field type with picklist (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Cannot change which global value set this picklist uses/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-change-type-due-to-existing-data.md b/docs/sf-deployment-assistant/Can-not-change-type-due-to-existing-data.md index aa8bc3215..6b429d439 100644 --- a/docs/sf-deployment-assistant/Can-not-change-type-due-to-existing-data.md +++ b/docs/sf-deployment-assistant/Can-not-change-type-due-to-existing-data.md @@ -1,5 +1,5 @@ --- -title: : Can not change type due to existing data (Deployment assistant) +title: Can not change type due to existing data (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Cannot change type due to existing data/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-delete-custom-field.md b/docs/sf-deployment-assistant/Can-not-delete-custom-field.md index 6a396e04f..5c222751d 100644 --- a/docs/sf-deployment-assistant/Can-not-delete-custom-field.md +++ b/docs/sf-deployment-assistant/Can-not-delete-custom-field.md @@ -1,5 +1,5 @@ --- -title: : Can not delete custom field (Deployment assistant) +title: Can not delete custom field (Deployment assistant) description: How to solve Salesforce deployment error /This (.*) is referenced elsewhere in salesforce.com/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-delete-record-type.md b/docs/sf-deployment-assistant/Can-not-delete-record-type.md index 4cef2aa64..ab95f37f5 100644 --- a/docs/sf-deployment-assistant/Can-not-delete-record-type.md +++ b/docs/sf-deployment-assistant/Can-not-delete-record-type.md @@ -1,5 +1,5 @@ --- -title: : Can not delete record type (Deployment assistant) +title: Can not delete record type (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Cannot delete record type through API/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-find-folder.md b/docs/sf-deployment-assistant/Can-not-find-folder.md index b53f5d7b9..0b56f6640 100644 --- a/docs/sf-deployment-assistant/Can-not-find-folder.md +++ b/docs/sf-deployment-assistant/Can-not-find-folder.md @@ -1,5 +1,5 @@ --- -title: : Can not find folder (Deployment assistant) +title: Can not find folder (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Cannot find folder:(.*)/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-find-user--2-.md b/docs/sf-deployment-assistant/Can-not-find-user--2-.md index a0d98430c..33bb3dc13 100644 --- a/docs/sf-deployment-assistant/Can-not-find-user--2-.md +++ b/docs/sf-deployment-assistant/Can-not-find-user--2-.md @@ -1,5 +1,5 @@ --- -title: : Can not find user (2) (Deployment assistant) +title: Can not find user (2) (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) In field: (.*) - no User named (.*) found/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-find-user.md b/docs/sf-deployment-assistant/Can-not-find-user.md index 93800e35a..13f723aea 100644 --- a/docs/sf-deployment-assistant/Can-not-find-user.md +++ b/docs/sf-deployment-assistant/Can-not-find-user.md @@ -1,5 +1,5 @@ --- -title: : Can not find user (Deployment assistant) +title: Can not find user (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Cannot find a user that matches any of the following usernames/gm --- diff --git a/docs/sf-deployment-assistant/Can-not-test-item-deployment-in-simulation-mode.md b/docs/sf-deployment-assistant/Can-not-test-item-deployment-in-simulation-mode.md index 7cf874915..9bd6bf1be 100644 --- a/docs/sf-deployment-assistant/Can-not-test-item-deployment-in-simulation-mode.md +++ b/docs/sf-deployment-assistant/Can-not-test-item-deployment-in-simulation-mode.md @@ -1,5 +1,5 @@ --- -title: : Can not test item deployment in simulation mode (Deployment assistant) +title: Can not test item deployment in simulation mode (Deployment assistant) description: How to solve Salesforce deployment error /Test only deployment cannot update/gm --- diff --git a/docs/sf-deployment-assistant/Cannot-update-a-field-to-a-Summary-from-something-else.md b/docs/sf-deployment-assistant/Cannot-update-a-field-to-a-Summary-from-something-else.md index d6351a4d4..f7c09773d 100644 --- a/docs/sf-deployment-assistant/Cannot-update-a-field-to-a-Summary-from-something-else.md +++ b/docs/sf-deployment-assistant/Cannot-update-a-field-to-a-Summary-from-something-else.md @@ -1,5 +1,5 @@ --- -title: : Cannot update a field to a Summary from something else (Deployment assistant) +title: Cannot update a field to a Summary from something else (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Cannot update a field to a (.*) from something else/gm --- diff --git a/docs/sf-deployment-assistant/Change-Matching-Rule.md b/docs/sf-deployment-assistant/Change-Matching-Rule.md index c7e8c9b9c..b48da862c 100644 --- a/docs/sf-deployment-assistant/Change-Matching-Rule.md +++ b/docs/sf-deployment-assistant/Change-Matching-Rule.md @@ -1,5 +1,5 @@ --- -title: : Change Matching Rule (Deployment assistant) +title: Change Matching Rule (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Before you change a matching rule, you must deactivate it/gm --- diff --git a/docs/sf-deployment-assistant/Condition-missing-reference.md b/docs/sf-deployment-assistant/Condition-missing-reference.md index d8a209392..58a35f8fe 100644 --- a/docs/sf-deployment-assistant/Condition-missing-reference.md +++ b/docs/sf-deployment-assistant/Condition-missing-reference.md @@ -1,5 +1,5 @@ --- -title: : Condition missing reference (Deployment assistant) +title: Condition missing reference (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) field integrity exception: unknown \(A condition has a reference to (.*), which doesn't exist.\)/gm --- diff --git a/docs/sf-deployment-assistant/Couldn-t-retrieve-or-load-information-on-the-field.md b/docs/sf-deployment-assistant/Couldn-t-retrieve-or-load-information-on-the-field.md new file mode 100644 index 000000000..555162102 --- /dev/null +++ b/docs/sf-deployment-assistant/Couldn-t-retrieve-or-load-information-on-the-field.md @@ -0,0 +1,19 @@ +--- +title: Couldn't retrieve or load information on the field (Deployment assistant) +description: How to solve Salesforce deployment error /Error (.*) Something went wrong. We couldn't retrieve or load the information on the field: (.*)\./gm +--- + +# Couldn't retrieve or load information on the field + +## Detection + +- RegExp: `Error (.*) Something went wrong. We couldn't retrieve or load the information on the field: (.*)\.` + +## Resolution + +```shell +There is a reference to {2} in {1}, and {2} is not found. You can either: +- Commit {2} in your deployment sources and make sure it is named in package.xml +- Remove the reference to {2} in {1} + +``` diff --git a/docs/sf-deployment-assistant/Custom-field-not-found.md b/docs/sf-deployment-assistant/Custom-field-not-found.md index aa76b40a4..d117a7a10 100644 --- a/docs/sf-deployment-assistant/Custom-field-not-found.md +++ b/docs/sf-deployment-assistant/Custom-field-not-found.md @@ -1,5 +1,5 @@ --- -title: : Custom field not found (Deployment assistant) +title: Custom field not found (Deployment assistant) description: How to solve Salesforce deployment error Error PS_Admin In field: field - no CustomField named User.expcloud__Portal_Username__c found --- diff --git a/docs/sf-deployment-assistant/Custom-metadata-entry-not-found.md b/docs/sf-deployment-assistant/Custom-metadata-entry-not-found.md index be78ca579..f51e5d5b8 100644 --- a/docs/sf-deployment-assistant/Custom-metadata-entry-not-found.md +++ b/docs/sf-deployment-assistant/Custom-metadata-entry-not-found.md @@ -1,5 +1,5 @@ --- -title: : Custom metadata entry not found (Deployment assistant) +title: Custom metadata entry not found (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) In field: (.*) - no CustomMetadata named (.*) found/gm --- diff --git a/docs/sf-deployment-assistant/Custom-object-not-found.md b/docs/sf-deployment-assistant/Custom-object-not-found.md index 46bce0b58..b424ba3a8 100644 --- a/docs/sf-deployment-assistant/Custom-object-not-found.md +++ b/docs/sf-deployment-assistant/Custom-object-not-found.md @@ -1,5 +1,5 @@ --- -title: : Custom object not found (Deployment assistant) +title: Custom object not found (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) In field: field - no CustomObject named (.*) found/gm --- diff --git a/docs/sf-deployment-assistant/Dependent-class-is-invalid-and-needs-recompilation.md b/docs/sf-deployment-assistant/Dependent-class-is-invalid-and-needs-recompilation.md index a3b4c8c03..3dd378012 100644 --- a/docs/sf-deployment-assistant/Dependent-class-is-invalid-and-needs-recompilation.md +++ b/docs/sf-deployment-assistant/Dependent-class-is-invalid-and-needs-recompilation.md @@ -1,5 +1,5 @@ --- -title: : Dependent class is invalid and needs recompilation (Deployment assistant) +title: Dependent class is invalid and needs recompilation (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Dependent class is invalid and needs recompilation/gm --- diff --git a/docs/sf-deployment-assistant/Duplicate-label.md b/docs/sf-deployment-assistant/Duplicate-label.md index 5b7863c44..743756d31 100644 --- a/docs/sf-deployment-assistant/Duplicate-label.md +++ b/docs/sf-deployment-assistant/Duplicate-label.md @@ -1,5 +1,5 @@ --- -title: : Duplicate label (Deployment assistant) +title: Duplicate label (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Duplicate label: (.*)/gm --- diff --git a/docs/sf-deployment-assistant/Duplicate-value-Platform-Action-Id-List.md b/docs/sf-deployment-assistant/Duplicate-value-Platform-Action-Id-List.md index bb03e3bb3..26da318d2 100644 --- a/docs/sf-deployment-assistant/Duplicate-value-Platform-Action-Id-List.md +++ b/docs/sf-deployment-assistant/Duplicate-value-Platform-Action-Id-List.md @@ -1,5 +1,5 @@ --- -title: : Duplicate value Platform Action Id List (Deployment assistant) +title: Duplicate value Platform Action Id List (Deployment assistant) description: How to solve Salesforce deployment error duplicate value found: PlatformActionListId duplicates value on record with id --- diff --git a/docs/sf-deployment-assistant/Empty-source-items.md b/docs/sf-deployment-assistant/Empty-source-items.md index 7db8326a4..bbfc3bb56 100644 --- a/docs/sf-deployment-assistant/Empty-source-items.md +++ b/docs/sf-deployment-assistant/Empty-source-items.md @@ -1,5 +1,5 @@ --- -title: : Empty source items (Deployment assistant) +title: Empty source items (Deployment assistant) description: How to solve Salesforce deployment error Required field is missing: sharingOwnerRules --- diff --git a/docs/sf-deployment-assistant/Enable-CRM-Analytics.md b/docs/sf-deployment-assistant/Enable-CRM-Analytics.md index 3e364b838..baaf4f032 100644 --- a/docs/sf-deployment-assistant/Enable-CRM-Analytics.md +++ b/docs/sf-deployment-assistant/Enable-CRM-Analytics.md @@ -1,5 +1,5 @@ --- -title: : Enable CRM Analytics (Deployment assistant) +title: Enable CRM Analytics (Deployment assistant) description: How to solve Salesforce deployment error It should be created by enabling the CRM Analytics Cloud preference --- diff --git a/docs/sf-deployment-assistant/Error-parsing-file.md b/docs/sf-deployment-assistant/Error-parsing-file.md index b57853ceb..b1af9a2e6 100644 --- a/docs/sf-deployment-assistant/Error-parsing-file.md +++ b/docs/sf-deployment-assistant/Error-parsing-file.md @@ -1,5 +1,5 @@ --- -title: : Error parsing file (Deployment assistant) +title: Error parsing file (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Error parsing file: (.*)/gm --- diff --git a/docs/sf-deployment-assistant/Expired-Access---Refresh-Token.md b/docs/sf-deployment-assistant/Expired-Access---Refresh-Token.md index 7eaa2e47d..72265afb0 100644 --- a/docs/sf-deployment-assistant/Expired-Access---Refresh-Token.md +++ b/docs/sf-deployment-assistant/Expired-Access---Refresh-Token.md @@ -1,5 +1,5 @@ --- -title: : Expired Access / Refresh Token (Deployment assistant) +title: Expired Access / Refresh Token (Deployment assistant) description: How to solve Salesforce deployment error expired access/refresh token --- diff --git a/docs/sf-deployment-assistant/Field-not-available-for-element.md b/docs/sf-deployment-assistant/Field-not-available-for-element.md index e3fc89879..79a2d0e73 100644 --- a/docs/sf-deployment-assistant/Field-not-available-for-element.md +++ b/docs/sf-deployment-assistant/Field-not-available-for-element.md @@ -1,5 +1,5 @@ --- -title: : Field not available for element (Deployment assistant) +title: Field not available for element (Deployment assistant) description: How to solve Salesforce deployment error /Field (.*) is not available for/gm --- diff --git a/docs/sf-deployment-assistant/Flow-must-be-deleted-manually.md b/docs/sf-deployment-assistant/Flow-must-be-deleted-manually.md index b430d40bf..5801ec879 100644 --- a/docs/sf-deployment-assistant/Flow-must-be-deleted-manually.md +++ b/docs/sf-deployment-assistant/Flow-must-be-deleted-manually.md @@ -1,5 +1,5 @@ --- -title: : Flow must be deleted manually (Deployment assistant) +title: Flow must be deleted manually (Deployment assistant) description: How to solve Salesforce deployment error /.flow (.*) insufficient access rights on cross-reference id/gm --- diff --git a/docs/sf-deployment-assistant/Formula-picklist-field-issue.md b/docs/sf-deployment-assistant/Formula-picklist-field-issue.md index 5fc118672..cb7f13025 100644 --- a/docs/sf-deployment-assistant/Formula-picklist-field-issue.md +++ b/docs/sf-deployment-assistant/Formula-picklist-field-issue.md @@ -1,5 +1,5 @@ --- -title: : Formula picklist field issue (Deployment assistant) +title: Formula picklist field issue (Deployment assistant) description: How to solve Salesforce deployment error Les champs de liste de sélection sont pris en charge uniquement dans certaines fonctions. --- diff --git a/docs/sf-deployment-assistant/Insufficient-access-rights-on-cross-reference-id.md b/docs/sf-deployment-assistant/Insufficient-access-rights-on-cross-reference-id.md index ae7cf62b2..d5e6522e1 100644 --- a/docs/sf-deployment-assistant/Insufficient-access-rights-on-cross-reference-id.md +++ b/docs/sf-deployment-assistant/Insufficient-access-rights-on-cross-reference-id.md @@ -1,5 +1,5 @@ --- -title: : Insufficient access rights on cross-reference id (Deployment assistant) +title: Insufficient access rights on cross-reference id (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) insufficient access rights on cross-reference id/gm --- diff --git a/docs/sf-deployment-assistant/Invalid-field-for-upsert.md b/docs/sf-deployment-assistant/Invalid-field-for-upsert.md index 1bdeed1b6..8153a3e96 100644 --- a/docs/sf-deployment-assistant/Invalid-field-for-upsert.md +++ b/docs/sf-deployment-assistant/Invalid-field-for-upsert.md @@ -1,5 +1,5 @@ --- -title: : Invalid field for upsert (Deployment assistant) +title: Invalid field for upsert (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Invalid field for upsert, must be an External Id custom or standard indexed field: (.*) \((.*)\)/gm --- diff --git a/docs/sf-deployment-assistant/Invalid-field-in-related-list.md b/docs/sf-deployment-assistant/Invalid-field-in-related-list.md index 1a925d2b5..1015d5e6f 100644 --- a/docs/sf-deployment-assistant/Invalid-field-in-related-list.md +++ b/docs/sf-deployment-assistant/Invalid-field-in-related-list.md @@ -1,5 +1,5 @@ --- -title: : Invalid field in related list (Deployment assistant) +title: Invalid field in related list (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Invalid field:(.*) in related list:(.*)/gm --- diff --git a/docs/sf-deployment-assistant/Invalid-formula-grouping-context.md b/docs/sf-deployment-assistant/Invalid-formula-grouping-context.md index 011c43e07..a8c2e817b 100644 --- a/docs/sf-deployment-assistant/Invalid-formula-grouping-context.md +++ b/docs/sf-deployment-assistant/Invalid-formula-grouping-context.md @@ -1,5 +1,5 @@ --- -title: : Invalid formula grouping context (Deployment assistant) +title: Invalid formula grouping context (Deployment assistant) description: How to solve Salesforce deployment error Invalid custom summary formula definition: You must select a grouping context to use any report summary function --- diff --git a/docs/sf-deployment-assistant/Invalid-report-type.md b/docs/sf-deployment-assistant/Invalid-report-type.md index 65e253a1c..dbae6fcdf 100644 --- a/docs/sf-deployment-assistant/Invalid-report-type.md +++ b/docs/sf-deployment-assistant/Invalid-report-type.md @@ -1,5 +1,5 @@ --- -title: : Invalid report type (Deployment assistant) +title: Invalid report type (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) invalid report type/gm --- diff --git a/docs/sf-deployment-assistant/Invalid-scope-Mine--not-allowed.md b/docs/sf-deployment-assistant/Invalid-scope-Mine--not-allowed.md index 00e9362f5..099fc0689 100644 --- a/docs/sf-deployment-assistant/Invalid-scope-Mine--not-allowed.md +++ b/docs/sf-deployment-assistant/Invalid-scope-Mine--not-allowed.md @@ -1,5 +1,5 @@ --- -title: : Invalid scope:Mine, not allowed (Deployment assistant) +title: Invalid scope:Mine, not allowed (Deployment assistant) description: How to solve Salesforce deployment error Invalid scope:Mine, not allowed --- diff --git a/docs/sf-deployment-assistant/Invalid-type.md b/docs/sf-deployment-assistant/Invalid-type.md index 78c4ad5d3..9473cd013 100644 --- a/docs/sf-deployment-assistant/Invalid-type.md +++ b/docs/sf-deployment-assistant/Invalid-type.md @@ -1,5 +1,5 @@ --- -title: : Invalid type (Deployment assistant) +title: Invalid type (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Invalid type: (.*) \((.*)\)/gm --- diff --git a/docs/sf-deployment-assistant/Mandatory-custom-field-can-not-be-in-a-profile-permission-set.md b/docs/sf-deployment-assistant/Mandatory-custom-field-can-not-be-in-a-profile-permission-set.md index f93aceb23..1b90c5ff0 100644 --- a/docs/sf-deployment-assistant/Mandatory-custom-field-can-not-be-in-a-profile-permission-set.md +++ b/docs/sf-deployment-assistant/Mandatory-custom-field-can-not-be-in-a-profile-permission-set.md @@ -1,5 +1,5 @@ --- -title: : Mandatory custom field can not be in a profile/permission set (Deployment assistant) +title: Mandatory custom field can not be in a profile/permission set (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) You cannot deploy to a required field: (.*)/gm --- diff --git a/docs/sf-deployment-assistant/Missing-Data-Category-Group.md b/docs/sf-deployment-assistant/Missing-Data-Category-Group.md index 8846bdfa2..541b00533 100644 --- a/docs/sf-deployment-assistant/Missing-Data-Category-Group.md +++ b/docs/sf-deployment-assistant/Missing-Data-Category-Group.md @@ -1,5 +1,5 @@ --- -title: : Missing Data Category Group (Deployment assistant) +title: Missing Data Category Group (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) In field: DeveloperName - no DataCategoryGroup named (.*) found/gm --- diff --git a/docs/sf-deployment-assistant/Missing-Feature-Work-Com.md b/docs/sf-deployment-assistant/Missing-Feature-Work-Com.md index b9ed5a6bf..100678069 100644 --- a/docs/sf-deployment-assistant/Missing-Feature-Work-Com.md +++ b/docs/sf-deployment-assistant/Missing-Feature-Work-Com.md @@ -1,5 +1,5 @@ --- -title: : Missing Feature Work.Com (Deployment assistant) +title: Missing Feature Work.Com (Deployment assistant) description: How to solve Salesforce deployment error WorkBadgeDefinition --- diff --git a/docs/sf-deployment-assistant/Missing-Quick-Action.md b/docs/sf-deployment-assistant/Missing-Quick-Action.md index 7a5b4b9e5..30985ce67 100644 --- a/docs/sf-deployment-assistant/Missing-Quick-Action.md +++ b/docs/sf-deployment-assistant/Missing-Quick-Action.md @@ -1,5 +1,5 @@ --- -title: : Missing Quick Action (Deployment assistant) +title: Missing Quick Action (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) In field: QuickAction - no QuickAction named (.*) found/gm --- diff --git a/docs/sf-deployment-assistant/Missing-Sales-Team.md b/docs/sf-deployment-assistant/Missing-Sales-Team.md index 74324f9b1..7f4896714 100644 --- a/docs/sf-deployment-assistant/Missing-Sales-Team.md +++ b/docs/sf-deployment-assistant/Missing-Sales-Team.md @@ -1,5 +1,5 @@ --- -title: : Missing Sales Team (Deployment assistant) +title: Missing Sales Team (Deployment assistant) description: How to solve Salesforce deployment error related list:RelatedAccountSalesTeam --- diff --git a/docs/sf-deployment-assistant/Missing-e-mail-template.md b/docs/sf-deployment-assistant/Missing-e-mail-template.md index 1a1359094..a199b3380 100644 --- a/docs/sf-deployment-assistant/Missing-e-mail-template.md +++ b/docs/sf-deployment-assistant/Missing-e-mail-template.md @@ -1,5 +1,5 @@ --- -title: : Missing e-mail template (Deployment assistant) +title: Missing e-mail template (Deployment assistant) description: How to solve Salesforce deployment error /In field: template - no EmailTemplate named (.*) found/gm --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Chatter-Collaboration-Group.md b/docs/sf-deployment-assistant/Missing-feature-Chatter-Collaboration-Group.md index a2318571e..fed05096c 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Chatter-Collaboration-Group.md +++ b/docs/sf-deployment-assistant/Missing-feature-Chatter-Collaboration-Group.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Chatter Collaboration Group (Deployment assistant) +title: Missing feature Chatter Collaboration Group (Deployment assistant) description: How to solve Salesforce deployment error CollaborationGroup --- diff --git a/docs/sf-deployment-assistant/Missing-feature-ContactToMultipleAccounts.md b/docs/sf-deployment-assistant/Missing-feature-ContactToMultipleAccounts.md index 2ff4f8fbf..8ce58ed7e 100644 --- a/docs/sf-deployment-assistant/Missing-feature-ContactToMultipleAccounts.md +++ b/docs/sf-deployment-assistant/Missing-feature-ContactToMultipleAccounts.md @@ -1,5 +1,5 @@ --- -title: : Missing feature ContactToMultipleAccounts (Deployment assistant) +title: Missing feature ContactToMultipleAccounts (Deployment assistant) description: How to solve Salesforce deployment error no CustomObject named AccountContactRelation found --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Enhanced-notes.md b/docs/sf-deployment-assistant/Missing-feature-Enhanced-notes.md index 984a12240..b11f6baa9 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Enhanced-notes.md +++ b/docs/sf-deployment-assistant/Missing-feature-Enhanced-notes.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Enhanced notes (Deployment assistant) +title: Missing feature Enhanced notes (Deployment assistant) description: How to solve Salesforce deployment error FeedItem.ContentNote --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Ideas-notes.md b/docs/sf-deployment-assistant/Missing-feature-Ideas-notes.md index ca3e8d828..2ce890d54 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Ideas-notes.md +++ b/docs/sf-deployment-assistant/Missing-feature-Ideas-notes.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Ideas notes (Deployment assistant) +title: Missing feature Ideas notes (Deployment assistant) description: How to solve Salesforce deployment error Idea.InternalIdeasIdeaRecordType --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Live-Agent.md b/docs/sf-deployment-assistant/Missing-feature-Live-Agent.md index b56d7a8d0..9d9b42ef7 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Live-Agent.md +++ b/docs/sf-deployment-assistant/Missing-feature-Live-Agent.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Live Agent (Deployment assistant) +title: Missing feature Live Agent (Deployment assistant) description: How to solve Salesforce deployment error FeedItem.ContentNote --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Opportunity-Teams.md b/docs/sf-deployment-assistant/Missing-feature-Opportunity-Teams.md index e57929853..7de4700de 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Opportunity-Teams.md +++ b/docs/sf-deployment-assistant/Missing-feature-Opportunity-Teams.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Opportunity Teams (Deployment assistant) +title: Missing feature Opportunity Teams (Deployment assistant) description: How to solve Salesforce deployment error OpportunityTeam --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Product-Request.md b/docs/sf-deployment-assistant/Missing-feature-Product-Request.md index 2f4fea3ee..04ff2e97b 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Product-Request.md +++ b/docs/sf-deployment-assistant/Missing-feature-Product-Request.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Product Request (Deployment assistant) +title: Missing feature Product Request (Deployment assistant) description: How to solve Salesforce deployment error ProductRequest --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Social-Customer-Service.md b/docs/sf-deployment-assistant/Missing-feature-Social-Customer-Service.md index b267feadf..1705291ec 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Social-Customer-Service.md +++ b/docs/sf-deployment-assistant/Missing-feature-Social-Customer-Service.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Social Customer Service (Deployment assistant) +title: Missing feature Social Customer Service (Deployment assistant) description: How to solve Salesforce deployment error SocialPersona.AreWeFollowing --- diff --git a/docs/sf-deployment-assistant/Missing-feature-Translation-Workbench.md b/docs/sf-deployment-assistant/Missing-feature-Translation-Workbench.md index 904f27986..36779bd35 100644 --- a/docs/sf-deployment-assistant/Missing-feature-Translation-Workbench.md +++ b/docs/sf-deployment-assistant/Missing-feature-Translation-Workbench.md @@ -1,5 +1,5 @@ --- -title: : Missing feature Translation Workbench (Deployment assistant) +title: Missing feature Translation Workbench (Deployment assistant) description: How to solve Salesforce deployment error /report-meta.xml(.*)filterlanguage/gm --- diff --git a/docs/sf-deployment-assistant/Missing-field-MiddleName.md b/docs/sf-deployment-assistant/Missing-field-MiddleName.md index 74048ec18..772bd5a85 100644 --- a/docs/sf-deployment-assistant/Missing-field-MiddleName.md +++ b/docs/sf-deployment-assistant/Missing-field-MiddleName.md @@ -1,5 +1,5 @@ --- -title: : Missing field MiddleName (Deployment assistant) +title: Missing field MiddleName (Deployment assistant) description: How to solve Salesforce deployment error field MiddleName --- diff --git a/docs/sf-deployment-assistant/Missing-field-Suffix.md b/docs/sf-deployment-assistant/Missing-field-Suffix.md index 065b9021b..14b173cf8 100644 --- a/docs/sf-deployment-assistant/Missing-field-Suffix.md +++ b/docs/sf-deployment-assistant/Missing-field-Suffix.md @@ -1,5 +1,5 @@ --- -title: : Missing field Suffix (Deployment assistant) +title: Missing field Suffix (Deployment assistant) description: How to solve Salesforce deployment error field Suffix --- diff --git a/docs/sf-deployment-assistant/Missing-field-SyncedQuoteId.md b/docs/sf-deployment-assistant/Missing-field-SyncedQuoteId.md index d0e49fa30..d0889f1ab 100644 --- a/docs/sf-deployment-assistant/Missing-field-SyncedQuoteId.md +++ b/docs/sf-deployment-assistant/Missing-field-SyncedQuoteId.md @@ -1,5 +1,5 @@ --- -title: : Missing field SyncedQuoteId (Deployment assistant) +title: Missing field SyncedQuoteId (Deployment assistant) description: How to solve Salesforce deployment error field SyncedQuoteId --- diff --git a/docs/sf-deployment-assistant/Missing-multi-currency-field.md b/docs/sf-deployment-assistant/Missing-multi-currency-field.md index 37d8573a5..13da66f3b 100644 --- a/docs/sf-deployment-assistant/Missing-multi-currency-field.md +++ b/docs/sf-deployment-assistant/Missing-multi-currency-field.md @@ -1,5 +1,5 @@ --- -title: : Missing multi-currency field (Deployment assistant) +title: Missing multi-currency field (Deployment assistant) description: How to solve Salesforce deployment error /A reference to a custom field (.*)CurrencyIsoCode/gm --- diff --git a/docs/sf-deployment-assistant/Missing-object-referenced-in-package-xml.md b/docs/sf-deployment-assistant/Missing-object-referenced-in-package-xml.md index b45068650..47ef79dfe 100644 --- a/docs/sf-deployment-assistant/Missing-object-referenced-in-package-xml.md +++ b/docs/sf-deployment-assistant/Missing-object-referenced-in-package-xml.md @@ -1,5 +1,5 @@ --- -title: : Missing object referenced in package.xml (Deployment assistant) +title: Missing object referenced in package.xml (Deployment assistant) description: How to solve Salesforce deployment error /An object (.*) of type (.*) was named in package.xml, but was not found in zipped directory/gm --- diff --git a/docs/sf-deployment-assistant/Missing-profile-default-application.md b/docs/sf-deployment-assistant/Missing-profile-default-application.md index aefe4c792..f9bf82ddd 100644 --- a/docs/sf-deployment-assistant/Missing-profile-default-application.md +++ b/docs/sf-deployment-assistant/Missing-profile-default-application.md @@ -1,5 +1,5 @@ --- -title: : Missing profile default application (Deployment assistant) +title: Missing profile default application (Deployment assistant) description: How to solve Salesforce deployment error You can't remove the only default app from the profile. --- diff --git a/docs/sf-deployment-assistant/Missing-report.md b/docs/sf-deployment-assistant/Missing-report.md index 6026ba4d0..0ed96d17f 100644 --- a/docs/sf-deployment-assistant/Missing-report.md +++ b/docs/sf-deployment-assistant/Missing-report.md @@ -1,5 +1,5 @@ --- -title: : Missing report (Deployment assistant) +title: Missing report (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) The (.*) report chart has a problem with the "reportName" field/gm --- diff --git a/docs/sf-deployment-assistant/Network-issue.md b/docs/sf-deployment-assistant/Network-issue.md index 81527b7bf..4e609ad7a 100644 --- a/docs/sf-deployment-assistant/Network-issue.md +++ b/docs/sf-deployment-assistant/Network-issue.md @@ -1,5 +1,5 @@ --- -title: : Network issue (Deployment assistant) +title: Network issue (Deployment assistant) description: How to solve Salesforce deployment error ECONNABORTED --- diff --git a/docs/sf-deployment-assistant/Not-available-for-deploy-for-this-organization.md b/docs/sf-deployment-assistant/Not-available-for-deploy-for-this-organization.md index 8f77eb4f7..f40308319 100644 --- a/docs/sf-deployment-assistant/Not-available-for-deploy-for-this-organization.md +++ b/docs/sf-deployment-assistant/Not-available-for-deploy-for-this-organization.md @@ -1,5 +1,5 @@ --- -title: : Not available for deploy for this organization (Deployment assistant) +title: Not available for deploy for this organization (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Not available for deploy for this organization/gm --- diff --git a/docs/sf-deployment-assistant/Not-valid-sharing-model.md b/docs/sf-deployment-assistant/Not-valid-sharing-model.md index 896e0242c..1b17cd0ca 100644 --- a/docs/sf-deployment-assistant/Not-valid-sharing-model.md +++ b/docs/sf-deployment-assistant/Not-valid-sharing-model.md @@ -1,5 +1,5 @@ --- -title: : Not valid sharing model (Deployment assistant) +title: Not valid sharing model (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) (.*) is not a valid sharing model for (.*) when (.*) sharing model is (.*)/gm --- diff --git a/docs/sf-deployment-assistant/Objects-rights-on-a-role-is-below-org-default.md b/docs/sf-deployment-assistant/Objects-rights-on-a-role-is-below-org-default.md index 3ec870741..153fd3de9 100644 --- a/docs/sf-deployment-assistant/Objects-rights-on-a-role-is-below-org-default.md +++ b/docs/sf-deployment-assistant/Objects-rights-on-a-role-is-below-org-default.md @@ -1,5 +1,5 @@ --- -title: : Objects rights on a role is below org default (Deployment assistant) +title: Objects rights on a role is below org default (Deployment assistant) description: How to solve Salesforce deployment error access level below organization default --- diff --git a/docs/sf-deployment-assistant/Picklist-sharing-is-not-supported.md b/docs/sf-deployment-assistant/Picklist-sharing-is-not-supported.md index e2eb6e566..2aa453174 100644 --- a/docs/sf-deployment-assistant/Picklist-sharing-is-not-supported.md +++ b/docs/sf-deployment-assistant/Picklist-sharing-is-not-supported.md @@ -1,5 +1,5 @@ --- -title: : Picklist sharing is not supported (Deployment assistant) +title: Picklist sharing is not supported (Deployment assistant) description: How to solve Salesforce deployment error Picklist sharing is not supported --- diff --git a/docs/sf-deployment-assistant/Picklist-value-not-found.md b/docs/sf-deployment-assistant/Picklist-value-not-found.md index 615b0dbab..7bd7637d9 100644 --- a/docs/sf-deployment-assistant/Picklist-value-not-found.md +++ b/docs/sf-deployment-assistant/Picklist-value-not-found.md @@ -1,5 +1,5 @@ --- -title: : Picklist value not found (Deployment assistant) +title: Picklist value not found (Deployment assistant) description: How to solve Salesforce deployment error /Picklist value: (.*) in picklist: (.*) not found/gm --- diff --git a/docs/sf-deployment-assistant/Please-choose-a-different-name.md b/docs/sf-deployment-assistant/Please-choose-a-different-name.md index f2f75b310..d29abde57 100644 --- a/docs/sf-deployment-assistant/Please-choose-a-different-name.md +++ b/docs/sf-deployment-assistant/Please-choose-a-different-name.md @@ -1,5 +1,5 @@ --- -title: : Please choose a different name (Deployment assistant) +title: Please choose a different name (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) This (.*) already exists or has been previously used(.*)Please choose a different name./gm --- diff --git a/docs/sf-deployment-assistant/Record-Type-not-found.md b/docs/sf-deployment-assistant/Record-Type-not-found.md index 591b14a1b..cb8cadc50 100644 --- a/docs/sf-deployment-assistant/Record-Type-not-found.md +++ b/docs/sf-deployment-assistant/Record-Type-not-found.md @@ -1,5 +1,5 @@ --- -title: : Record Type not found (Deployment assistant) +title: Record Type not found (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) In field: recordType - no RecordType named (.*) found/gm --- diff --git a/docs/sf-deployment-assistant/Send-email-is-disabled.md b/docs/sf-deployment-assistant/Send-email-is-disabled.md index abb75a874..283524eba 100644 --- a/docs/sf-deployment-assistant/Send-email-is-disabled.md +++ b/docs/sf-deployment-assistant/Send-email-is-disabled.md @@ -1,5 +1,5 @@ --- -title: : Send email is disabled (Deployment assistant) +title: Send email is disabled (Deployment assistant) description: How to solve Salesforce deployment error Send Email is disabled or activities are not allowed --- diff --git a/docs/sf-deployment-assistant/Sharing-recalculation-lock.md b/docs/sf-deployment-assistant/Sharing-recalculation-lock.md index bfc27de85..ccee727e4 100644 --- a/docs/sf-deployment-assistant/Sharing-recalculation-lock.md +++ b/docs/sf-deployment-assistant/Sharing-recalculation-lock.md @@ -1,5 +1,5 @@ --- -title: : Sharing recalculation lock (Deployment assistant) +title: Sharing recalculation lock (Deployment assistant) description: How to solve Salesforce deployment error because it interferes with another operation already in progress --- diff --git a/docs/sf-deployment-assistant/Sort-order-must-be-in-sequential-order.md b/docs/sf-deployment-assistant/Sort-order-must-be-in-sequential-order.md index a7060a509..971e076b5 100644 --- a/docs/sf-deployment-assistant/Sort-order-must-be-in-sequential-order.md +++ b/docs/sf-deployment-assistant/Sort-order-must-be-in-sequential-order.md @@ -1,5 +1,5 @@ --- -title: : Sort order must be in sequential order (Deployment assistant) +title: Sort order must be in sequential order (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) SortOrder must be in sequential order from/gm --- diff --git a/docs/sf-deployment-assistant/Tableau-CRM---Wave-digest-error.md b/docs/sf-deployment-assistant/Tableau-CRM---Wave-digest-error.md index 043f91098..a53551a20 100644 --- a/docs/sf-deployment-assistant/Tableau-CRM---Wave-digest-error.md +++ b/docs/sf-deployment-assistant/Tableau-CRM---Wave-digest-error.md @@ -1,5 +1,5 @@ --- -title: : Tableau CRM / Wave digest error (Deployment assistant) +title: Tableau CRM / Wave digest error (Deployment assistant) description: How to solve Salesforce deployment error Fix the sfdcDigest node errors and then upload the file again --- diff --git a/docs/sf-deployment-assistant/Test-classes-with-0--coverage.md b/docs/sf-deployment-assistant/Test-classes-with-0--coverage.md index eeb5788c2..87c4afa45 100644 --- a/docs/sf-deployment-assistant/Test-classes-with-0--coverage.md +++ b/docs/sf-deployment-assistant/Test-classes-with-0--coverage.md @@ -1,5 +1,5 @@ --- -title: : Test classes with 0% coverage (Deployment assistant) +title: Test classes with 0% coverage (Deployment assistant) description: How to solve Salesforce deployment error / 0%/gm --- diff --git a/docs/sf-deployment-assistant/Unknown-user-permission--CreateAuditFields.md b/docs/sf-deployment-assistant/Unknown-user-permission--CreateAuditFields.md index b4db58984..59489149a 100644 --- a/docs/sf-deployment-assistant/Unknown-user-permission--CreateAuditFields.md +++ b/docs/sf-deployment-assistant/Unknown-user-permission--CreateAuditFields.md @@ -1,5 +1,5 @@ --- -title: : Unknown user permission: CreateAuditFields (Deployment assistant) +title: Unknown user permission: CreateAuditFields (Deployment assistant) description: How to solve Salesforce deployment error Unknown user permission: CreateAuditFields --- diff --git a/docs/sf-deployment-assistant/Unknown-user-permission--FieldServiceAccess.md b/docs/sf-deployment-assistant/Unknown-user-permission--FieldServiceAccess.md index 02447f2ce..e62f660bf 100644 --- a/docs/sf-deployment-assistant/Unknown-user-permission--FieldServiceAccess.md +++ b/docs/sf-deployment-assistant/Unknown-user-permission--FieldServiceAccess.md @@ -1,5 +1,5 @@ --- -title: : Unknown user permission: FieldServiceAccess (Deployment assistant) +title: Unknown user permission: FieldServiceAccess (Deployment assistant) description: How to solve Salesforce deployment error Unknown user permission: FieldServiceAccess --- diff --git a/docs/sf-deployment-assistant/Unknown-user-permission.md b/docs/sf-deployment-assistant/Unknown-user-permission.md index 0786af3cb..6b8436682 100644 --- a/docs/sf-deployment-assistant/Unknown-user-permission.md +++ b/docs/sf-deployment-assistant/Unknown-user-permission.md @@ -1,5 +1,5 @@ --- -title: : Unknown user permission (Deployment assistant) +title: Unknown user permission (Deployment assistant) description: How to solve Salesforce deployment error Unknown user permission: --- diff --git a/docs/sf-deployment-assistant/Unsupported-sharing-configuration.md b/docs/sf-deployment-assistant/Unsupported-sharing-configuration.md index e897b448a..ce9a680bb 100644 --- a/docs/sf-deployment-assistant/Unsupported-sharing-configuration.md +++ b/docs/sf-deployment-assistant/Unsupported-sharing-configuration.md @@ -1,5 +1,5 @@ --- -title: : Unsupported sharing configuration (Deployment assistant) +title: Unsupported sharing configuration (Deployment assistant) description: How to solve Salesforce deployment error /not supported for (.*) since it's org wide default is/gm --- diff --git a/docs/sf-deployment-assistant/Variable-does-not-exist.md b/docs/sf-deployment-assistant/Variable-does-not-exist.md index 84ffc475b..a631ec51c 100644 --- a/docs/sf-deployment-assistant/Variable-does-not-exist.md +++ b/docs/sf-deployment-assistant/Variable-does-not-exist.md @@ -1,5 +1,5 @@ --- -title: : Variable does not exist (Deployment assistant) +title: Variable does not exist (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Variable does not exist: (.*) \((.*)\)/gm --- diff --git a/docs/sf-deployment-assistant/Visibility-is-not-allowed-for-type.md b/docs/sf-deployment-assistant/Visibility-is-not-allowed-for-type.md index d57352fd9..b7f79893c 100644 --- a/docs/sf-deployment-assistant/Visibility-is-not-allowed-for-type.md +++ b/docs/sf-deployment-assistant/Visibility-is-not-allowed-for-type.md @@ -1,5 +1,5 @@ --- -title: : Visibility is not allowed for type (Deployment assistant) +title: Visibility is not allowed for type (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) set the visibility for a (.*) to Protected unless you are in a developer/gm --- diff --git a/docs/sf-deployment-assistant/XML-item-appears-more-than-once.md b/docs/sf-deployment-assistant/XML-item-appears-more-than-once.md index 9ea3c8fc7..d7615d99c 100644 --- a/docs/sf-deployment-assistant/XML-item-appears-more-than-once.md +++ b/docs/sf-deployment-assistant/XML-item-appears-more-than-once.md @@ -1,5 +1,5 @@ --- -title: : XML item appears more than once (Deployment assistant) +title: XML item appears more than once (Deployment assistant) description: How to solve Salesforce deployment error /Error (.*) Field:(.*), value:(.*) appears more than once/gm --- diff --git a/docs/sf-deployment-assistant/sharing-operation-already-in-progress.md b/docs/sf-deployment-assistant/sharing-operation-already-in-progress.md index 8735fe298..eb307bce7 100644 --- a/docs/sf-deployment-assistant/sharing-operation-already-in-progress.md +++ b/docs/sf-deployment-assistant/sharing-operation-already-in-progress.md @@ -1,5 +1,5 @@ --- -title: : sharing operation already in progress (Deployment assistant) +title: sharing operation already in progress (Deployment assistant) description: How to solve Salesforce deployment error sharing operation already in progress --- diff --git a/src/common/utils/deployTips.ts b/src/common/utils/deployTips.ts index 45abe09c3..fae042182 100644 --- a/src/common/utils/deployTips.ts +++ b/src/common/utils/deployTips.ts @@ -34,7 +34,10 @@ export async function analyzeDeployErrorLogs(log: string, includeInLog = true, o index++; continue; } - if (logLine.trim().startsWith("Error") && !(updatedLogLines[index + 1] && !updatedLogLines[index + 1].trim().startsWith("Error"))) { + if ((logLine.trim().startsWith("Error") || logLine.trim().startsWith("| Error")) && + !(updatedLogLines[index + 1] && + (!updatedLogLines[index + 1].trim().startsWith("Error") || !updatedLogLines[index + 1].trim().startsWith("| Error")) + )) { const aiTip = await findAiTip(logLine.trim()); // Complete with AI if possible if (aiTip && aiTip.success) { diff --git a/src/common/utils/deployTipsList.ts b/src/common/utils/deployTipsList.ts index 58ac3d9b4..873fe91f2 100644 --- a/src/common/utils/deployTipsList.ts +++ b/src/common/utils/deployTipsList.ts @@ -130,6 +130,15 @@ Example of XML you have to remove in {1}: tip: `There is a reference to {2} in {1}, and {2} is not found. You can either: - Add {2} in your deployment sources and make sure it is named in package.xml - Remove the reference to {2} in {1} +`, + }, + { + name: "could-not-retrieve-field-info", + label: "Couldn't retrieve or load information on the field", + expressionRegex: [/Error (.*) Something went wrong. We couldn't retrieve or load the information on the field: (.*)\./gm], + tip: `There is a reference to {2} in {1}, and {2} is not found. You can either: +- Commit {2} in your deployment sources and make sure it is named in package.xml +- Remove the reference to {2} in {1} `, }, { diff --git a/src/common/utils/index.ts b/src/common/utils/index.ts index fece141ff..3cd929c34 100644 --- a/src/common/utils/index.ts +++ b/src/common/utils/index.ts @@ -18,7 +18,7 @@ import { CONSTANTS, getConfig, getReportDirectory, setConfig } from '../../confi import { prompts } from './prompts.js'; import { encryptFile } from '../cryptoUtils.js'; import { deployMetadatas, truncateProgressLogLines } from './deployUtils.js'; -import { promptProfiles, promptUserEmail } from './orgUtils.js'; +import { isProductionOrg, promptProfiles, promptUserEmail } from './orgUtils.js'; import { WebSocketClient } from '../websocketClient.js'; import moment from 'moment'; import { writeXmlFile } from './xmlUtils.js'; @@ -1213,9 +1213,10 @@ export async function generateSSLCertificate( } ...` ) ); + const isProduction = await isProductionOrg(options.targetUsername || null, { conn: conn }); const deployRes = await deployMetadatas({ deployDir: tmpDirMd, - testlevel: branchName.includes('production') ? 'RunLocalTests' : 'NoTestRun', + testlevel: isProduction ? 'RunLocalTests' : 'NoTestRun', targetUsername: options.targetUsername ? options.targetUsername : null, }); console.assert(deployRes.status === 0, c.red('[sfdx-hardis] Failed to deploy metadatas'));