forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
493 stars 78 forks source link

CustomObject created on v61 can't be retrieved with source tracking #2867

Closed ChristianMenzinger closed 4 months ago

ChristianMenzinger commented 5 months ago

Summary

Creating a new CustomObject in Summer'24 (v61) in a source tracked environment (scratch org) can't be retrieved with sf project retrieve start

Steps To Reproduce

NOTE: the "Fullname" of the CustomObject is lacking of __c hence the error in the retrieval see screenshot below

IMPORTANT https://github.com/ChristianMenzinger/v61CustomObjectIssue

NOTE: empty project which only contains Layout and Profiles, which have been successfully retrieved

Expected result

CustomObject is also retrieved by CLI

Actual result

CLI throws an error Entity of type 'CustomObject' named 'TestObject1' cannot be found

System Information

zsh 5.9 (x86_64-apple-darwin23.0)

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.40.7",
  "nodeVersion": "node-v20.12.2",
  "osVersion": "Darwin 23.4.0",
  "rootPath": "/Users/christianmenzinger/.local/share/sf/client/2.40.7-bde121f",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.16 (core)",
    "@oclif/plugin-commands 3.3.1 (core)",
    "@oclif/plugin-help 6.0.21 (core)",
    "@oclif/plugin-not-found 3.1.7 (core)",
    "@oclif/plugin-plugins 5.0.18 (core)",
    "@oclif/plugin-search 1.0.23 (core)",
    "@oclif/plugin-update 4.2.9 (core)",
    "@oclif/plugin-version 2.0.17 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.16 (core)",
    "@oclif/plugin-which 3.1.8 (core)",
    "@salesforce/cli 2.40.7 (core)",
    "apex 3.1.11 (core)",
    "auth 3.6.5 (core)",
    "data 3.3.2 (core)",
    "deploy-retrieve 3.6.8 (core)",
    "info 3.2.4 (core)",
    "limits 3.3.4 (core)",
    "marketplace 1.2.4 (core)",
    "org 4.1.5 (core)",
    "packaging 1.26.4 (user)",
    "schema 3.3.4 (core)",
    "settings 2.2.3 (core)",
    "sobject 1.3.6 (core)",
    "source 3.3.5 (core)",
    "telemetry 3.3.4 (core)",
    "templates 56.2.4 (core)",
    "trust 3.6.7 (core)",
    "user 3.5.4 (core)"
  ]
}

Additional information

v61issue_cli
github-actions[bot] commented 5 months ago

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

git2gus[bot] commented 5 months ago

This issue has been linked to a new work item: [W-15757428] (https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00001rSFFaYAO/view)

W-15527739

mshanemc commented 4 months ago

this wasn't a CLI bug, but the people responsible for it say they've git it fixed.