๐ PermissionSet converted from Profile has invalid visibility tab settings
Closed this issue ยท 2 comments
e02d96ec16 commented
- Acquire some Profile e.g. the Admin.profile SFDX seems to always generate
- Convert Profile to PermissionSet:
sfdx shane:profile:convert -n Administrator -p Admin
- Deploy:
sfdx force:source:push -f -g -w 30
- ๐ฅ
Error parsing file: 'Hidden' is not a valid value for the enum 'PermissionSetTabVisibility'
Line pointed to:
+ <tabSettings>
+ <tab>Example__c</tab>
- <visibility>Hidden</visibility>
+ </tabSettings>
DefaultOn
was another invalid visibility.
Docs says these are not valid values at all:
Manually changing the visibilities to e.g. Visible
made it possible to deploy again.
mshanemc commented
@e02d96ec16 thanks for a super well-crafted issue.
I think I fixed it. Since you've got an org with the issue, can you sfdx update
and check out the latest version for me?
e02d96ec16 commented
@mshanemc Confirmed. Thank you very much!