sfpowerkit
sfpowerkit copied to clipboard
sfpowerkit:source:profile:reconcile removing multiple fields after retrieve
Part 2. sfpowerkit:source:profile:reconcile -n Admin -u user1 removes some fieldPermissions, classAccesses, layoutAssignments, objectPermissions, recordTypeVisibilities from the profile retrieved seconds before with sfpowerkit:source:profile:retrieve -n Admin -u user1
Here are examples of what was removed by sfpowerkit:source:profile:reconcile -u user1 (list is not full)
<apexClass>LID__TaskUpdateBatch</apexClass>
<field>Case.ClosedOnCreate</field>
<layout>ActiveScratchOrg-Active Scratch Org Layout</layout>
<layout>ScratchOrgInfo-Scratch Org Info Layout</layout>
<object>SocialPersona</object>
<recordType>Idea.InternalIdeasIdeaRecordType</recordType>
Expected behavior output of sfpowerkit:source:profile:reconcile should be the same as we just retrieved the full version with sfpowerkit:source:profile:retrieve.
Desktop:
OS: WSL Ubuntu / Windows sfdx-cli/7.154.0 wsl-x64 node-v14.17.6 Version of sfpowerkit 4.2.8
Originally raised by @busybox0 in https://github.com/dxatscale/sfpowerkit/issues/694