Describe the bug
On field creation, Managed Report Type is pulled if "Auto add to custom report type" checkbox is checked. This is an issue because Managed Report Types are read only (if I try to edit it in the UI it's not possible). If I try to deploy the pulled report type, or recreate a scratch org from pulled metadata I have an error saying that I can't modify a managed object:
squivr__Contacts_with_Relationships - Custom Report Type - Cannot modify managed object: entity=CrtLayoutSection, component=null, state=MANAGED_INSTALLED - sections
To Reproduce
Steps to reproduce the behavior:
- Create a Scratch Org
- Install a Managed Package with Managed Report Types, for instance Squivr (
sf package install -p 04t8V000000ksxyQAA -w 60)
- In the Org create a custom field on Contact (there is a Managed Report Type from Squivr on Contact), for instance a Test__c checkbox field. You can omit all field level security and page layouts
- Pull the changes
- Additionally you can try to create a new Scratch Org and push everything
Expected behavior
Only the new field is pulled.
Describe the bug
On field creation, Managed Report Type is pulled if "Auto add to custom report type" checkbox is checked. This is an issue because Managed Report Types are read only (if I try to edit it in the UI it's not possible). If I try to deploy the pulled report type, or recreate a scratch org from pulled metadata I have an error saying that I can't modify a managed object:
squivr__Contacts_with_Relationships - Custom Report Type - Cannot modify managed object: entity=CrtLayoutSection, component=null, state=MANAGED_INSTALLED - sectionsTo Reproduce
Steps to reproduce the behavior:
sf package install -p 04t8V000000ksxyQAA -w 60)Expected behavior
Only the new field is pulled.