forcedotcom / forcedotcom/devops-center-feedback

Using decomposePermissionSetBeta2 will result in error during promotion

Open
#294 1 comment 1 reaction 0 assignees View on GitHub
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**

Image

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.