Restriction Rules not supported in Source format #1158
Labels
bug
Issue or pull request that identifies or fixes a bug
investigating
We're actively investigating this issue
Summary
We are trialing Restriction Rules (beta in v52.0). The metadata coverage report indicates that this metadata is supported both the Metadata API and Source Tracking. When attempting to convert from source format to mdapi format, the metadata is treated as a
ModerationRule
instead ofRestrictionRule
.Steps To Reproduce:
Repository to reproduce: Sample Repo
sfdx force:source:convert -d ./mdapi
Expected result
Source is converted to metadata API format with a
restrictionRules
folder and thepackage.xml
should reference theRestrictionRule
metadata type.Actual result
Source is converted to metadata API format with a
moderation
folder instead ofrestrictionRules
. Thepackage.xml
file also defines the metadata type asModerationRule
instead ofRestrictionRule
.System Information
The text was updated successfully, but these errors were encountered: