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

Deployment error table is missing Metadata type. Inconsistent naming of table headers. #3110

Closed
PawelWozniak opened this issue Nov 13, 2024 · 5 comments
Labels
bug Issue or pull request that identifies or fixes a bug validated Version information for this issue has been validated

Comments

@PawelWozniak
Copy link

Summary

When I get error in SF CLI for metadata verification then it is inconsistent with what I can see in SF gui.
2024-11-13_14h46_33

In example above seeing only error in CLI I am confused what it is about as object was already deleted.
When I check for the error in deployment verification status in GUI I see additional "Type" column with value "Tab" now I understand that there is something wrong with tab metadata related to deleted object.

Please add "Metadata Type" column in CLI so it is clear what error is about.
Also Line and Column value is missing in this example. I know that it might be not relevant in case of the tab metadata but still it is inconsistent with GUI.

Steps To Reproduce

Unable to provide exact steps. In my case I had and object and custom tab. Then object was deleted.

Expected result

As developer which is using mainly VSCode and CLI I see clear error message in CLI so I know what it is about.

Actual result

I am missing information about which metadata type error is shown and where (line and column).

System Information

{
  "architecture": "win32-x64",
  "cliVersion": "@salesforce/cli/2.65.8",
  "nodeVersion": "node-v22.11.0",
  "osVersion": "Windows_NT 10.0.22631",
  "rootPath": "C:\\Users\\pwozn\\AppData\\Roaming\\npm\\node_modules\\@salesforce\\cli",
  "shell": "powershell",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.7 (core)",
    "@oclif/plugin-commands 4.1.5 (core)",
    "@oclif/plugin-help 6.2.16 (core)",
    "@oclif/plugin-not-found 3.2.24 (core)",
    "@oclif/plugin-plugins 5.4.15 (core)",
    "@oclif/plugin-search 1.2.13 (core)",
    "@oclif/plugin-update 4.6.8 (core)",
    "@oclif/plugin-version 2.2.15 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.20 (core)",
    "@oclif/plugin-which 3.2.16 (core)",
    "@salesforce/cli 2.65.8 (core)",
    "apex 3.5.5 (core)",
    "api 1.3.1 (core)",
    "auth 3.6.70 (core)",
    "data 3.9.0 (core)",
    "deploy-retrieve 3.15.4 (core)",
    "info 3.4.15 (core)",
    "limits 3.3.37 (core)",
    "marketplace 1.3.2 (core)",
    "org 5.0.2 (core)",
    "packaging 2.8.12 (core)",
    "schema 3.3.39 (core)",
    "settings 2.4.2 (core)",
    "sobject 1.4.44 (core)",
    "telemetry 3.6.18 (core)",
    "templates 56.3.26 (core)",
    "trust 3.7.38 (core)",
    "user 3.6.0 (core)",
    "@salesforce/sfdx-scanner 4.7.0 (user) published 14 days ago (Tue Oct 29 2024)",
    "sfdmu 4.36.7 (user) published 14 days ago (Tue Oct 29 2024)",
    "sfdx-git-delta 5.49.3 (user) published 1 days ago (Tue Nov 12 2024)"
  ]
}
@PawelWozniak PawelWozniak added the investigating We're actively investigating this issue label Nov 13, 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 Nov 13, 2024
@WillieRuemmele WillieRuemmele added the bug Issue or pull request that identifies or fixes a bug label Nov 13, 2024
Copy link

git2gus bot commented Nov 13, 2024

This issue has been linked to a new work item: W-17227008

@WillieRuemmele
Copy link
Member

@PawelWozniak - I put up a PR to repurpose the TYPE column, to show the metadata type, as for the missing line/column info, that isn't returned for every metadata type / error in the API 😦

@PawelWozniak
Copy link
Author

@WillieRuemmele Thank you for your work, that will help all developers.

@WillieRuemmele WillieRuemmele removed the investigating We're actively investigating this issue label Nov 14, 2024
@WillieRuemmele
Copy link
Member

This has been released into latest this week 🚀

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