W want to periodically retrieve whole production org, except for some things, that we want to ignore.
Up until now it worked fine using .forceignore. But few days ago it stopped when the thing to ignore became a field on a Contact.
**/objects/Contact/fields/BuyerAttributes.field-meta.xml
prevents field from getting retrieved, but profiles still contain the entry for ignored field.
Is this expected behaviour or should we start to look for another solution than .forceignore.
Example: Contents of the package.xml file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Contact</members>
<name>CustomObject</name>
</types>
<types>
<members>Admin</members>
<name>Profile</name>
</types>
<version>60.0</version>
</Package>
Contents of the .forceignore file:
**/objects/Contact/fields/BuyerAttributes.field-meta.xml
Command executed:
sf project retrieve start -x '<path-to-package-file>/package.xml'
Expected behaviour: Profile does not include node for BuyerAttributes.
Actual behaviour: It does.