forcedotcom / salesforcedx-vscode

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

"Could not infer a metadata type" error with "Experimental: Deploy Retrieve" on for Wave Types #3157

Closed sfsholden closed 3 years ago

sfsholden commented 3 years ago

Summary

With "Experimental: Deploy Retrieve" on, retrieving wave objects results in the error "Could not infer metadata type".

Steps To Reproduce:

  1. Enable "salesforcedx-vscode-core>Experimental: Deploy Retrieve".
  2. Click on the Org Browser.
  3. Attempt to retrieve metadata for Wave components.

Expected result

Retrieves metadata for wave components.

Actual result

Receive error "Could not infer metadata type". This appears to be due to an extra "-meta.xml" suffix.

Additional information

VS_code1

Workaround

Disable the setting "salesforcedx-vscode-core>Experimental: Deploy Retrieve".

sfsholden commented 3 years ago

This issue will be resolved with W-9156885.

brpowell commented 3 years ago

This should be fixed in the latest version (v51.10.0) of the extensions