-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moving a created field does not work (it tries to delete/insert) even when sf_beta_track_file_moves is set to true #3071
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hey @defabien, I don't know exactly what you are trying to do based on the info you provided, but I am pretty sure this is working as designed. Are you moving a custom field from one Object to another Object? If you are moving a child type, the Parent has to have the same metadata type and Name. Otherwise it needs to deleted and added. If you happen to be moving from a child type from one Project directory to another and the Parent name and type are the same, it will properly track (commit to local source tracking) the move. If that is not what you are doing, I need exact steps to replicate your findings. Thanks! |
Hi @iowillhoit, Thank you for your time! To clarify; I'm not moving a field from one object to another, in that case I would of course understand the behavior. The steps I can take to reproduce;
|
Hey @defabien, I am not seeing a "delete" when moving fields as you described. Here is a screencast, let me know if I missed something! moving-fields.mov |
@defabien Do you see anything that I missed in my screencast? |
Expected result
when moving a field from one place to another, I expect tracking deploy to to something close to a noop
Actual result
when moving a field from one place to another, it tries to delete the field and insert it, resulting in errors when the field is being used
System Information
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
The text was updated successfully, but these errors were encountered: