forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
491 stars 79 forks source link

Updates on quick actions default fields are not detected by force:source:pull #36

Closed berardo closed 2 years ago

berardo commented 5 years ago

Summary

Changes made on default fields of custom quick actions in the source code are able to be pushed to a scratch org however, the opposite is not true. On-the-fly updates on pre-existing custom actions are not tracked by sfdx, ending up with No results found.

Steps To Reproduce:

  1. Create a new Email Quick Action for any Object (my example: Lead)
  2. Add some default fields. E.g. htmlBody, textBody, Subject ...
  3. Optional: Add it to any page layout just to help you test the change
  4. Pull your code (sfdx force:source:pull): This will create a file like Object.QuickActionName.quickAction-meta.xml
  5. Make local changes in this file
  6. Push it (sfdx force:source:push). Your changes will be reflected on your box
  7. Make changes in your scratch-org (I've tested adding new default values for other fields and changing the value for existing ones)
  8. Pull your code again and see: No Results Found
  9. Repeat the process locally and push - Confirm that your changes made declaratively are gone

Expected result

It should detect declarative changes.

Actual result

It does not detect changes when pulling.

Additional information

Feel free to attach a screenshot.

SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/6.53.0-67a9cbb60c (darwin-x64) node-v8.9.4

SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core): @salesforce/plugin-generator 1.0.1 (core) @salesforce/sfdx-trust 2.0.1 (core) builtins 1.0.0 (core) salesforcedx 45.0.12 (pre-release)

OS and version: MacOS High Sierra

clairebianchi commented 5 years ago

@berardo We are looking into this issue internally.

paulchensfdc commented 3 years ago

Is this issue still happening? I can see the correct result in Step 8: Pull your code again and see: No Results Found --> I see the correct changes reflected in my force:source:pull

no-response[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.