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 @@