Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Error during CustomObjectTranslation retrieve with sf-cli - (sf project generate manifest)

未关闭
#3,215 14 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

investigating validated

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_US
  • APXTConga4__es

These resources do not follow the <ResName>-<Language> pattern, unlike other resources such as:

  • ATN_Asignaci_n_de_casos__c-es
  • ATN_AsignacionPedidos__c-es
  • ATN_AsignacionUsuarios__c-es
  • ATN_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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

forcedotcom/cli 的其他 Issue

查看 forcedotcom/cli 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。