Error during CustomObjectTranslation retrieve with sf-cli - (sf project generate manifest)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js
- Domain
- cli
Research direction
Start by reproducing the failure with sf force source read for the listed CustomObjectTranslation resources, then compare it with sf project generate manifest output. Trace how APXTConga4__en_US and APXTConga4__es are handled relative to names ending in -<Language>. Done means these resources no longer cause the fullName destructuring error while preserving valid retrieval behavior.
Written by the indexing model from the issue text.
Description
Description:
While executing our parallel full-retrieve procedure, we encountered an unusual error during the retrieve of CustomObjectTranslation. The command used and the error encountered are detailed below.
Command:
sf force source read --target-org UAT3_B2B --chunk-size 10 --flags-dir fullRetrieve_Artifact/CRUID_Resources/CustomObjectTranslation_0
Error:
[CustomObjectTranslation_0] Error command execution:
STDOUT:
reading CustomObjectTranslation:AAPP_Oportunidad__c-es, CustomObjectTranslation:ACP_Contract_Entity_Conversion__c-es, CustomObjectTranslation:ACP_Matriz_Conversion_Productos__c-es, CustomObjectTranslation:AN_Objetivo_GGCC__c-es, CustomObjectTranslation:APE_Perfiles_ValoresPromedios__mdt-es, CustomObjectTranslation:APE_PickTarifaAcceso__mdt-es, CustomObjectTranslation:APE_Prod_Recomendacion__c-es, CustomObjectTranslation:APE_Puesto__mdt-es, CustomObjectTranslation:APE_Recomendador__c-es, CustomObjectTranslation:APE_Tarifa_Conga__mdt-es ...
reading CustomObjectTranslation:APE_Tarifas_ordenadas__mdt-es, CustomObjectTranslation:APE_Valores_ATR__mdt-es, CustomObjectTranslation:APE_ZonaGeoMDT__mdt-es, CustomObjectTranslation:APXTConga4__Composer_Host_Override__c-en_US, CustomObjectTranslation:APXTConga4__Composer_QuickMerge__c-en_US, CustomObjectTranslation:APXTConga4__Composer_Setting__mdt-es, CustomObjectTranslation:APXTConga4__Conga_Collection_Solution__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Collection__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Composer_Settings__c-es, CustomObjectTranslation:APXTConga4__Conga_Email_Staging__c-en_US ...
reading CustomObjectTranslation:APXTConga4__Conga_Email_Template__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Merge_Query__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Solution_Email_Template__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Solution_Export_Environment__mdt-es, CustomObjectTranslation:APXTConga4__Conga_Solution_Export_Setting__mdt-es, CustomObjectTranslation:APXTConga4__Conga_Solution_Parameter__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Solution_Query__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Solution_Report__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Solution_Template__c-en_US, CustomObjectTranslation:APXTConga4__Conga_Solution__c-en_US ...
reading CustomObjectTranslation:APXTConga4__Conga_Solutions_Settings__c-es, CustomObjectTranslation:APXTConga4__Conga_Template__c-en_US, CustomObjectTranslation:APXTConga4__Connected_App_Setting__mdt-es, CustomObjectTranslation:APXTConga4__Document_History_Detail__c-en_US, CustomObjectTranslation:APXTConga4__Document_History__c-en_US, CustomObjectTranslation:APXTConga4__EventData__c-en_US, CustomObjectTranslation:APXTConga4__VersionedData__c-en_US, CustomObjectTranslation:APXTConga4__en_US, CustomObjectTranslation:APXTConga4__es, CustomObjectTranslation:ATN_Asignaci_n_de_casos__c-es ...
STDERR:
(node:8702) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
Error (10): Cannot destructure property 'fullName' of 'undefined' as it is undefined.
Analysis:
After thorough analysis, we discovered that the issue pertains to two specific resources:
APXTConga4__en_USAPXTConga4__es
These resources do not follow the <ResName>-<Language> pattern, unlike other resources such as:
ATN_Asignaci_n_de_casos__c-esATN_AsignacionPedidos__c-esATN_AsignacionUsuarios__c-esATN_Asignacion_AGT_Emp__c-es
The list was generated using the command:
sf project generate manifest --from-org 'UAT3_B2B' --output-dir '/Users/ea_enel/Documents/01_repo/b2b-crm/RM_Orgs/UAT3_B2B' --name 'packageOrgManifest.xml' --include-packages unlocked managed
Workaround:
For now, we are excluding CustomObjectTranslation that do not end with -<Language>, but we believe this is a bug in the sf-cli or the org.
Complete list of resources not following the pattern:
01) APXTConga4__en_US | 02) APXTConga4__es | 03) GetFeedback_Aut__en_US | 04) LEXMAGICMOVER__en_US
05) NE__en_US | 06) NE__es | 07) NE__it | 08) et4ae5__de
09) et4ae5__en_US | 10) et4ae5__es | 11) et4ae5__es_MX | 12) et4ae5__fr
13) et4ae5__it | 14) et4ae5__ja | 15) et4ae5__pt_BR | 16) ltngsharing__en_US
17) maps__da | 18) maps__de | 19) maps__en_US | 20) maps__es
21) maps__es_MX | 22) maps__fi | 23) maps__fr | 24) maps__it
25) maps__ja | 26) maps__ko | 27) maps__nl_NL | 28) maps__no
29) maps__pl | 30) maps__pt_BR | 31) maps__ru | 32) maps__sv
33) maps__th | 34) maps__zh_CN | 35) maps__zh_TW
Conclusion:
We believe this issue is a bug in the sf-cli or the org. Please investigate further and provide a solution.
System Information
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.76.7",
"nodeVersion": "node-v23.7.0",
"osVersion": "Darwin 24.3.0",
"rootPath": "/opt/homebrew/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.20 (core)",
"@oclif/plugin-commands 4.1.19 (core)",
"@oclif/plugin-help 6.2.24 (core)",
"@oclif/plugin-not-found 3.2.40 (core)",
"@oclif/plugin-plugins 5.4.30 (core)",
"@oclif/plugin-search 1.2.20 (core)",
"@oclif/plugin-update 4.6.30 (core)",
"@oclif/plugin-version 2.2.23 (core)",
"@oclif/plugin-warn-if-update-available 3.1.32 (core)",
"@oclif/plugin-which 3.2.28 (core)",
"@salesforce/cli 2.76.7 (core)",
"apex 3.6.8 (core)",
"api 1.3.3 (core)",
"auth 3.6.92 (core)",
"data 4.0.9 (core)",
"deploy-retrieve 3.18.0 (core)",
"info 3.4.37 (core)",
"limits 3.3.45 (core)",
"marketplace 1.3.7 (core)",
"org 5.2.29 (core)",
"packaging 2.9.16 (core)",
"schema 3.3.49 (core)",
"settings 2.4.14 (core)",
"sobject 1.4.50 (core)",
"telemetry 3.6.32 (core)",
"templates 56.3.37 (core)",
"trust 3.7.61 (core)",
"user 3.6.8 (core)",
"sfdx-plugin-source-read 0.0.0-development (user) published NaN days ago (Invalid Date) (latest is 1.4.2)"
]
}
- Dominant language
- No language data
- Stars
- 571
- Forks
- 80
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from forcedotcom/cli
-
investigating validated
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
forcedotcom/cli#3657 · 2 comments ·
-
area:afdx owned by another team
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
forcedotcom/cli#3645 · 2 comments ·
-
bug investigating validated
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
forcedotcom/cli#3644 · 6 comments ·
-
area:afdx bug investigating owned by another team validated
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
forcedotcom/cli#3625 · 4 comments ·
-
area:afdx bug owned by another team
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
forcedotcom/cli#3608 · 2 comments ·
Similar issues
-
area/testing kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
modelscope/ms-swift#10287 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Doist/todoist-cli#576 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day