I have an Unlocked SFDX Package with a CustomObject__c
and two Record Types RTypeA
and RTypeB
.
The object and the two types have existed in the package before my update. Before the upgrade all records of this type had either the one or the other RecordType.
The strange thing is that after my package upgrade all records lost their RecordType (meaning RecordTypeId = null
).
It's also strange that the CreatedDate of the two previously existing RecordTypes has changes to the date of the package upgrade. I don't get that.
What did I do wrong or is this a platform bug?
RecordType
records. That would suggest they also have new ID's.