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

cli versions stable and newer fail to recognize customPermission metadata for retrieve or deployment #3221

Closed
mike-burke-10xgenomics opened this issue Feb 17, 2025 · 1 comment
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated

Comments

@mike-burke-10xgenomics
Copy link

Expected result

Use of deploy and retrieve of the CustomPermission metadata type fails to find any results on stable, stable-rc and nightly currently.

Actual result

Deploy fails to find local metadata, even when explicitly addressed:

PS E:\Projects\sfdx\game> sf project deploy start -m "CustomPermission:Create_New_Game_Rules_and_Criteria"

─────────────── Deploying Metadata ───────────────

Deploying v61.0 metadata to test-ag0bteyay0ze@example.com using the v63.0 SOAP API.

✔ Preparing 291ms
◯ Waiting for the org to respond - Skipped
◯ Deploying Metadata - Skipped
◯ Running Tests - Skipped
◯ Updating Source Tracking - Skipped
✔ Done 0ms

Status: Succeeded
Deploy ID: 0AfE100000cYWqnKAG
Target Org: test-ag0bteyay0ze@example.com
Elapsed Time: 297ms


Retrieve fails similarly

PS E:\Projects\sfdx\game> sf project retrieve start -m "CustomPermission:Create_New_Game_Rules_and_Criteria"

────────────── Retrieving Metadata ──────────────

Retrieving v61.0 metadata from test-ag0bteyay0ze@example.com using the v63.0 SOAP API

✔ Preparing retrieve request 9ms
✔ Sending request to org 753ms
✔ Waiting for the org to respond 197ms
✔ Done 0ms

Status: Succeeded
Elapsed Time: 960ms

» Warning: Nothing retrieved

Additional information

This also fails with wildcards and when deploying or retrieving using source tracking.

System Information

CLI:
@salesforce/cli/2.77.6 win32-x64 node-v22.13.1

Plugin Version:
@oclif/plugin-autocomplete 3.2.21 (core)
@oclif/plugin-commands 4.1.20 (core)
@oclif/plugin-help 6.2.25 (core)
@oclif/plugin-not-found 3.2.40 (core)
@oclif/plugin-plugins 5.4.31 (core)
@oclif/plugin-search 1.2.21 (core)
@oclif/plugin-update 4.6.31 (core)
@oclif/plugin-version 2.2.23 (core)
@oclif/plugin-warn-if-update-available 3.1.33 (core)
@oclif/plugin-which 3.2.29 (core)
@salesforce/cli 2.77.6 (core)
@salesforce/commerce 252.0.1 (user)
apex 3.6.8 (core)
api 1.3.3 (core)
auth 3.6.94 (core)
code-analyzer 5.0.0-beta.1 (user)
data 4.0.11 (core)
deploy-retrieve 3.18.3 (core)
info 3.4.39 (core)
lightning-dev 1.10.0 (user)
limits 3.3.46 (core)
marketplace 1.3.7 (core)
org 5.2.32 (core)
packaging 2.9.16 (core)
schema 3.3.50 (core)
settings 2.4.16 (core)
sobject 1.4.50 (core)
telemetry 3.6.32 (core)
templates 56.3.38 (core)
trust 3.7.64 (core)
user 3.6.9 (core)
sfdmu 4.38.0 (user)
sfdx-git-delta 6.3.0 (user)
texei-sfdx-plugin 2.8.2 (user)
SF ENV. VARS.
SF_AUTOUPDATE_DISABLE,true
SF_BINPATH,C:\Users\Mike\AppData\Local\sf\client\bin\sf
SF_DISABLE_AUTOUPDATE,true
SF_UPDATE_INSTRUCTIONS,Use "npm update --global @salesforce/cli" to update npm-based installations.
Windows: true
Shell: powershell
Channel: stable

Diagnostics

✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] default target DevHub max apiVersion matches default target org max apiVersion
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
❌ fail - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - [@salesforce/plugin-auth] CLI using stable v1 crypto

@mike-burke-10xgenomics mike-burke-10xgenomics added the investigating We're actively investigating this issue label Feb 17, 2025
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@github-actions github-actions bot added the validated Version information for this issue has been validated label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

1 participant