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

We found that after upgrading to the latest version, we encountered an error when uploading a newly created apex class #5675

Closed
zt15242 opened this issue Jul 4, 2024 · 6 comments

Comments

@zt15242
Copy link

zt15242 commented Jul 4, 2024

We found that after upgrading to the latest version, we encountered an error when uploading a newly created apex class。
We manually set the apiVersion in the xml of the newly created class from 61 to 59 to deploy normally
image

@svc-idee-bot
Copy link
Collaborator

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.

@svc-idee-bot
Copy link
Collaborator

Hello @zt15242 👋 It looks like you didn't provide all the required basic info in your issue.

If you haven't already, please provide the following info:
Salesforce Extension Version in VS Code:
Salesforce CLI Version:
OS and version:
VS Code version:
Most recent version of the extensions where this was working:

Here's an example of a set of required info that will pass the validation:
Salesforce Extension Version in VS Code: 60.13.0
Salesforce CLI Version: @salesforce/cli/2.42.6 darwin-arm64 node-v18.18.2
OS and version: MacOS Sonoma 14.5
VS Code version: 1.89.1
Most recent version of the extensions where this was working: 60.11.0

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue, as well as all error messages that you see.
    • A repository that clearly demonstrates the bug is ideal.
    • Error messages can be found in the Problems Tab, Output Tab, and from running Developer: Toggle Developer Tools in the command palette.
  • Make sure you've installed the latest version of the Salesforce Extension Pack for VSCode. (docs)
  • Search GitHub for existing related issues.

Thank you!

@zt15242
Copy link
Author

zt15242 commented Jul 5, 2024

@svc-idee-bot
Salesforce Extension Version in VS Code: 61.2.1
Salesforce CLI Version:@salesforce/cli/2.13.9 win32-x64 node-v18.15.0
VS Code version: 1.89.1
Most recent version of the extensions where this was working: 60.13.0

@peternhale
Copy link
Contributor

@zt15242 would you run this command from the vscode terminal and return the results?

sf project deploy start

@peternhale
Copy link
Contributor

I also see that the CLI version is ~34 weeks old. Would it be possible to upgrade the CLI to the latest and try again?

Copy link

This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted.

@github-actions github-actions bot added the stale label Jul 12, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants