sfpowerkit icon indicating copy to clipboard operation
sfpowerkit copied to clipboard

sfpowerkit:source:profile:reconcile removing multiple fields after retrieve

Open Caitlyn-Mills opened this issue 2 years ago • 0 comments

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

Caitlyn-Mills avatar Aug 31 '22 03:08 Caitlyn-Mills