Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#3,215 14 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
node.js
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi với sf force source read cho các tài nguyên CustomObjectTranslation được liệt kê, sau đó so sánh với đầu ra của sf project generate manifest. Theo dõi cách APXTConga4__en_US và APXTConga4__es được xử lý so với các tên kết thúc bằng -<Language>. Được xem là hoàn tất khi các tài nguyên này không còn gây ra lỗi destructuring của fullName và vẫn duy trì hành vi truy xuất hợp lệ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)"
  ]
}
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
571
Fork
80
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của forcedotcom/cli

Tất cả issue của forcedotcom/cli

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.