Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managed Report Types (read only) are modified and pulled if "Auto add to custom report type" checkbox is checked on field creation #13

Open
FabienTaillon opened this issue Aug 2, 2023 · 2 comments

Comments

@FabienTaillon
Copy link
Member

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:

  1. Create a Scratch Org
  2. Install a Managed Package with Managed Report Types, for instance Squivr (sf package install -p 04t8V000000ksxyQAA -w 60)
  3. 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
  4. Pull the changes
  5. Additionally you can try to create a new Scratch Org and push everything

Expected behavior
Only the new field is pulled.

@FabienTaillon
Copy link
Member Author

Case #45070118 created.

@FabienTaillon FabienTaillon changed the title On field creation, Managed Report Type is pulled if "Auto add to custom report type" checkbox is checked Managed Report Types (read only) are modified and pulled if "Auto add to custom report type" checkbox is checked on field creation Aug 2, 2023
@FabienTaillon
Copy link
Member Author

Related Known Issue: https://issues.salesforce.com/issue/a028c00000gAwKDAA0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant