forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
953 stars 406 forks source link

When the org is using namespace, the plug-in does not find a Visual Force page #2122

Open VinceFINET opened 4 years ago

VinceFINET commented 4 years ago

Summary

When the org is using namespace, the plug-in does not find a Visual Force page

Steps To Reproduce:

  1. Setup your Visual Code Editor to stick to an org that has namespace enabled
  2. Select one of your Visual Page in the editor
  3. Right click and select "SDFX: Diff File Against Org"

Expected result

I guess I should have a diff of two files, the one on my local computer, and the one on the org

Actual result

I have an error in the terminal.

Additional information

Here is the entire output of the command: 15:19:50.301 sfdx force:source:diff --sourcepath /Users/vfinet/Devs/XXXXXXX/XXXXXXX-app/force-app/main/default/pages/DAPI_VFP.page --json --loglevel fatal ended with exit code 1

Unexpected error while running VisualforceProcessor. Error: DAPI_VFP.page was not found in org when querying with username XXXXXXX (DE package)

VS Code Version: Version: 1.43.2 Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50 Date: 2020-03-24T07:34:57.037Z Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0

SFDX CLI Version: $ sfdx version sfdx-cli/7.52.0-c5ad5c3eff darwin-x64 node-v10.15.3

OS and version: OS: Darwin x64 18.7.0

lcampos commented 4 years ago

Thanks for opening this issue @VinceFINET, this is a known limitation with the Diff plugin and we'll add it to the gaps that need to be addressed.

git2gus[bot] commented 2 months ago

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