You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a DX Project with namespace, problem entry for a failed Apex test class displays strange "unknown \" location, and clicking the entry opens a blank page rather than the originating Apex test class:
Same behavior observed on other project (for another namespace).
Works as expected on a DX Project without a namespace.
OS and version: Windows 10 (Windows_NT x64 10.0.19045)
VS Code version: 1.96.4
Most recent version of the extensions where this was working: unknown
The text was updated successfully, but these errors were encountered:
AndrewStopchenko-SO
changed the title
Apex Test: DX Project **with namespace**, cannot open failed test Apex class/code line from the _Problems_ panel
Apex Test: DX Project with namespace, cannot open failed test Apex class/code line from the Problems panel
Jan 17, 2025
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.
Hello @AndrewStopchenko-SO 👋 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)
Summary
In a DX Project with namespace, problem entry for a failed Apex test class displays strange
"unknown \"
location, and clicking the entry opens a blank page rather than the originating Apex test class:Steps To Reproduce:
Expected result
Opens the Apex class from step 2, highlights the specific code line where the failed assertion is located.
Actual result
Empty file (
unknown
) is opened instead.Salesforce Extension Version in VS Code: 62.14.1
Salesforce CLI Version: @salesforce/cli/2.72.21 win32-x64 node-v22.12.0
sf version --verbose --json
output:OS and version: Windows 10 (Windows_NT x64 10.0.19045)
VS Code version: 1.96.4
Most recent version of the extensions where this was working: unknown
The text was updated successfully, but these errors were encountered: