Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ChristianMenzinger opened this issue May 14, 2024 · 2 comments
Labels
bug Issue or pull request that identifies or fixes a bug validated Version information for this issue has been validated

Comments

@ChristianMenzinger
Copy link

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

  • Create a new scratch org with Summer'24 ("release": "preview")
  • Create a new custom object in the Salesforce Setup
  • run command sf project retrieve preview -> will display all changes including the CustomObject
  • run command sf project retrieve start -> will fail to retrieve the CustomObject

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
@ChristianMenzinger ChristianMenzinger added the investigating We're actively investigating this issue label May 14, 2024
Copy link

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.

@github-actions github-actions bot added the validated Version information for this issue has been validated label May 14, 2024
@mdonnalley mdonnalley added bug Issue or pull request that identifies or fixes a bug and removed investigating We're actively investigating this issue labels May 14, 2024
Copy link

git2gus bot commented May 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

2 participants