-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated
Description
Summary
When using decomposePermissionSetsBeta2 and retrieving a Permission Set into a temp folder which already has existing permission Files in another project folder, the files get retrieved into the temp folder and CLI will throw an error about inability to infer a metadata type.
Steps To Reproduce
- Create a project with two project folders, of which one is the default folder
- Create a Permission set in the non-default folder and fill it with the necessary definition meta files
- Edit permissions in the UI
- Retrieve
- The changed files will be retrieved, but the error will still occur.
Expected result
One of two options should occur:
- Either the files should already be migrated into the correct permission set folder
- Or the files should simply be retrieved without any error output
Actual result

This is done via the VS Code Extension, but it also comes up when using sf project retrieve
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.71.6",
"nodeVersion": "node-v22.9.0",
"osVersion": "Darwin 24.1.0",
"rootPath": "/opt/homebrew/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.14 (core)",
"@oclif/plugin-commands 4.1.14 (core)",
"@oclif/plugin-help 6.2.19 (core)",
"@oclif/plugin-not-found 3.2.31 (core)",
"@oclif/plugin-plugins 5.4.22 (core)",
"@oclif/plugin-search 1.2.17 (core)",
"@oclif/plugin-update 4.6.18 (core)",
"@oclif/plugin-version 2.2.18 (core)",
"@oclif/plugin-warn-if-update-available 3.1.28 (core)",
"@oclif/plugin-which 3.2.21 (core)",
"@salesforce/cli 2.71.6 (core)",
"apex 3.6.8 (core)",
"api 1.3.2 (core)",
"auth 3.6.82 (core)",
"data 3.13.5 (core)",
"deploy-retrieve 3.16.0 (core)",
"info 3.4.29 (core)",
"limits 3.3.43 (core)",
"marketplace 1.3.7 (core)",
"org 5.2.11 (core)",
"packaging 2.4.5 (user)",
"schema 3.3.45 (core)",
"settings 2.4.9 (core)",
"signups 2.0.13 (link) /opt/homebrew/lib/node_modules/@salesforce/plugin-signups",
"sobject 1.4.46 (core)",
"telemetry 3.6.27 (core)",
"templates 56.3.34 (core)",
"trust 3.7.51 (core)",
"user 3.6.5 (core)",
"sfdmu 4.33.17 (user)",
"sfdx-git-delta 5.40.0 (user)",
"sfdx-hardis 4.52.0 (user)"
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated