I have a project with a scratch org created using some profiles that date from the MDAPI days. The profiles look good in the org.
Having added some record types, I expected:
to do a good job of pulling the profiles back. But the profiles are about 1/3 the size of the original ones, and are missing many elements such as
recordTypeVisibilities needed for the source to be pushed in our CI (Continuous Integration) environment.
and doing some manual cut and pasting of just the profiles appears to solve the problem.
What is your experience in this area? Is there something I have missed here (release notes, known issues)? I am using the latest version of SFDX and the plugins.
Just added a field and did another
sfdx force:source:pull with this result:
Element Pull Result ******* *********** applicationVisibilities missing classAccesses missing fieldPermissions expected 1862, but only 1368 layoutAssignments missing objectPermissions missing pageAccesses missing recordTypeVisibilities missing tabVisibilities missing userPermissions OK userLicense OK