salesforcedx-vscode icon indicating copy to clipboard operation
salesforcedx-vscode copied to clipboard

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

Open VinceFINET opened this issue 4 years ago • 2 comments

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

VinceFINET avatar Apr 15 '20 13:04 VinceFINET