Error during CustomObjectTranslation retrieve with sf-cli - (sf project generate manifest)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- node.js
- 领域
- cli
调研方向
首先,针对列出的 CustomObjectTranslation 资源使用 sf force source read 重现故障,然后将其与 sf project generate manifest 的输出进行比较。跟踪 APXTConga4__en_US 和 APXTConga4__es 相对于以 -<Language> 结尾的名称是如何处理的。完成标准是这些资源不再导致 fullName 解构错误,同时保留有效的检索行为。
由索引模型根据 Issue 内容生成。
描述
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)"
]
}
- 主要语言
- 没有语言数据
- 星标
- 571
- 派生
- 80
- 平均合并
- 23 小时 43 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
forcedotcom/cli 的其他 Issue
-
sf agent mcp asset replace --assets null throws raw TypeError instead of InvalidShape可能已有人在做 @konkonrong-lgtm 于 70 天前认领。 未关闭area:afdx bug investigating owned by another team validated
难度 2/5 1-3 小时 新手友好度 78/100
forcedotcom/cli#3625 · 4 条评论 ·
-
area:afdx bug owned by another team
难度 2/5 1-3 小时 新手友好度 78/100
forcedotcom/cli#3608 · 2 条评论 ·
-
bug investigating validated
难度 3/5 1-2 天 新手友好度 66/100
forcedotcom/cli#3667 · 5 条评论 ·
-
[BUG]: sf package version create always warns about org-capitalize-record-types, even when it's set未关闭area:packaging more information required owned by another team regression stale
难度 3/5 1-2 天 新手友好度 52/100
forcedotcom/cli#3663 · 5 条评论 ·
-
[BUG]: NavigationMenu SourceMember name mismatch prevents source-tracked retrieve from completing未关闭bug investigating validated
难度 4/5 3-5 天 新手友好度 52/100
forcedotcom/cli#3660 · 3 条评论 ·
相似的 Issue
-
[Bug]: `hermes plugins update` clones an entire monorepo twice - `subdir` is resolved but dropped at both catalog-update call sites可能已有人在做 @HootRock 今天认领。 未关闭comp/cli P2 type/perf
难度 2/5 1-3 小时 新手友好度 72/100
NousResearch/hermes-agent#142417 · 2 条评论 ·
维护者通常 1 天内回复
-
area:desktop priority:p2 type:chore
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
DietrichGebert/ponytail#1206 ·
维护者通常 2 天内回复
-
rig up --plan times out after 5 s and reports an UNKNOWN outcome while the daemon completes the plan未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
gke-labs/kube-agents#3615 ·
维护者通常 1 天内回复