forcedotcom / forcedotcom/devops-center-feedback
Using decomposePermissionSetBeta2 will result in error during promotion
- Dominant language
- No language data
- Stars
- 61
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
We have enabled permission set decomposition using `sf project convert source-behavior --behavior decomposePermissionSetBeta2`. When trying to promote, process errors with following.
```
/tmp/doce-aIN7tv/force-app/main/default/permissionsets/AI_Data_Integration/AI_Data_Integration.customPermissions-meta.xml: Could not infer a metadata type
```
**To Reproduce**
Steps to reproduce the behavior:
1. enable permission set decomposition
2. promote this change
...
**Expected behavior**
Promote succeeds
**Screenshots**
Contributor guide
Research direction
Start by reproducing the promotion after enabling decomposePermissionSetBeta2, using the command shown in the issue. Inspect the generated permissionsets/AI_Data_Integration/AI_Data_Integration.customPermissions-meta.xml and the metadata inference failure; done means promotion succeeds without the error.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100