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

Unable to source:retrieve MutingPermisionSet #339

Closed
bingwang0 opened this issue Mar 10, 2020 · 17 comments
Closed

Unable to source:retrieve MutingPermisionSet #339

bingwang0 opened this issue Mar 10, 2020 · 17 comments
Labels
bug Issue or pull request that identifies or fixes a bug waiting for internal reply The Salesforce team is working on a fix and has promised an update

Comments

@bingwang0
Copy link

bingwang0 commented Mar 10, 2020

Summary

_A Muting Permission Set in a Permission Set Group in a sandbox cannot be retrieved by source:retrieve _.

Steps To Reproduce:

  1. Create a Muting Permission Set in a sandbox
  2. Try retrieving it by sfdx force:source:retrieve -m "MutingPermissionSet:permission_set_api_name"
  3. The command failed with "cannot read property 'metadataName' of undefined"
  4. Org Browser can see the permission set but retrieving it ended up with the same result (not surprisingly)

Screen Shot 2020-03-08 at 11 49 35 PM

Additional information - Environment

SFDX CLI Version:
7.49.1
SFDX plugin Version:
48.4.1
OS and version:
Windows 10

@anthonyberan
Copy link

Verifies it fails with force:source:pull as well.
image

Additional Information - Environment

SFDX CLI Version:
7.49.1
SFDX plugin Version:
48.4.1
OS and version
Mac 10.14.6

@clairebianchi
Copy link
Collaborator

@bingwang0 we are going to investigate thank you

@clairebianchi clairebianchi added the waiting for internal reply The Salesforce team is working on a fix and has promised an update label Mar 20, 2020
@FabienTaillon
Copy link

I assume it's not that easy to have a "CLI supported" column in the Metadata Coverage Report ?

@clairebianchi
Copy link
Collaborator

@FabienTaillon sadly no, we have had internal discussions, but it is a lot more work than it would seem.

@FabienTaillon
Copy link

Also, MutingPermissionSet is listed as supported by the Metadata API, so letting aside the CLI, shouldn't this mean that it should be documented here, and available through at least a package.xml ?

Or is it just a bug on the API side, it's listed as available in the Metadata API but it's not ?

@SalesforcePetr
Copy link

Hi there, when do you plan to support muted permission sets please? This ticket is a sleeping beauty ;-)

@Daniel-Dragon
Copy link

Going on 9 months now, is there an update on this? We just got bit by the gap in functionality.

@SCWells72
Copy link

Hey, @clairebianchi. Any ETA on this by chance?

@mdonnalley mdonnalley added the bug Issue or pull request that identifies or fixes a bug label Dec 17, 2020
@mdonnalley
Copy link
Contributor

We're working on a fix for this now and plan to have it included in our next release

@steals
Copy link

steals commented Jan 21, 2021

Is this fix for retrieve|pull only command or the deploy|push will also be fixed?

@ytiq
Copy link

ytiq commented Feb 2, 2021

As for a side note. I used MutingPermissionSets on project and we put them in separate metaDataApi folder and used mdapi:deploy /retrive for them

@mshanemc
Copy link
Contributor

Given the fix, and the comments (seems to work for all operations) I'm closing this one. Someone reopen if you still see problems with mutingPermSets

@rajesh-kemisetti
Copy link

rajesh-kemisetti commented Apr 21, 2021

I’m seeing this issue still reproducible and I have re tried after doing sfdx update and seeing the Same error.
I see the issue was closed but it’s not clear whether it was fixed and if it worked for anyone.

@dieffrei
Copy link

dieffrei commented Jun 7, 2021

@mshanemc can you reopen this issue?
I agree with @rajesh-kemisetti this issue still happening even updating to the latest cli version.
CC: @clairebianchi

@shetzel
Copy link
Contributor

shetzel commented Jun 7, 2021

@rajesh-kemisetti @dieffrei - what version of the salesforcedx plugin are you using? If you're pinned to an old version you won't get the updates. Multiple people on the team can not reproduce this issue after following the steps from the original post. If there are different steps to reproduce this please post what they are. Another option for force:source:retrieve and force:source:deploy is to use the VS Code extension which currently (but not for long) uses a different library for those commands.

@dieffrei
Copy link

dieffrei commented Jun 8, 2021

@shetzel thank you for fast reply.

Indeed, in our docker image We had an out-of-update cli version.
After update to the latest version, got the error fixed.
Thank you

CC: @rajesh-kemisetti

@rajesh-kemisetti
Copy link

@shetzel I am still seeing this issue. Below screen shot shows the CLI version and the package that just has the muted perm set and the retrieval doesn't work. I tried running the command in VS code via ctrl+shift+p and also with the terminal and got the same error

image

CC: @dieffrei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug waiting for internal reply The Salesforce team is working on a fix and has promised an update
Projects
None yet
Development

No branches or pull requests