This analyzer helps resolve issues where you have multiple recordTypeVisibilities
for an object and more than one has been set to default in a profile.
What triggers this problem analyzer?
If you have an object in a .profile
file that has multiple record types and more than one of the record types is set to be the default, this problem analyzer will be triggered.
Example: An object has two record types, but in the profile default
is true for each recordType
.
What problem is it solving?
Validation or deployment to Salesforce will fail unless you only have one recordType
to be a default.
How does it work?
Gearset will offer the option to use select the same recordType
to be default as you currently have in your target, which should allow the Salesforce deployment or validation to succeed.