forcedotcom / forcedotcom/devops-center-feedback
Install failed in org with ETM2 enabled
Open
BUG P2
- Dominant language
- No language data
- Stars
- 61
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Post-Install script fails to run when package installed to org with ETM2 enabled.
**To Reproduce**
Steps to reproduce the behavior:
install package in org with ETM2, wait for failure
Install script exception:
```
caused by: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION,
Permission CustomizeApplication depends on permission(s): ManageTerritories: []
Class.sf_devops.DevOpsPkgPostInstallScript.createModifyAllMetadataPermset: line 107, column 1
Class.sf_devops.DevOpsPkgPostInstallScript.onInstall: line 7, column 1
Contributor guide
Assessment
This issue has not been assessed yet.