forcedotcom / salesforcedx-vscode

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

Unable to Update CustomField Metadata. SFDX: Deploy Providing False Success Message #5611

Closed achalon-salesforce closed 1 month ago

achalon-salesforce commented 1 month ago

Summary

Unable to modify field metadata. When using Salesforce CLI GUI provided by the extension pack and I click "SFDX: Deploy this source to org" either from within a modified and saved CustomField xml file or the package.xml (With custom fields included) a successful deployment will go through but none of the changes will be displayed in Salesforce.

Steps To Reproduce:

  1. Create a package.xml which includes a CustomField (Standard field or custom field, not a system field).
  2. Retrieve this field by right-clicking the file and selecting "SFDX: Retrieve this source from org"
  3. Go to the CustomField file, modify it (change the value between or something), and save changes
  4. Go to the package.xml (or stay on the CustomField file), right-click and select "SFDX: Deploy this source to org"
  5. Login to Salesforce Org to validate field metadata changes

Expected result

The changes will be reflected from the Object Manager in setup.

Actual result

The changes are not reflected from the Object Manager in setup.

Additional information

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:

CristiCanizales commented 1 month ago

Hi @achalon-salesforce, please create a new issue from here and provide all the details requested. We require them to have some context and be able to triage your issue. I'll close this one and wait for the new one. Thanks!