I have an object A with record type a1 and a2. I made an unlocked package and installed it to production org. After a few days, the client comes with some other changes and I made another version of the unlocked package and installed it to production. Here is what happened after it:-

  • Record type value from all old records (created before package installation) gets empty for object A.
  • New Records are creating perfectly and have record type values.
  • Last modified date on old records are not the same as the package installation date.
  • In the setup audit trail there is no evidence of record type change.

I am not able to figure out how and why record type value from old records get removed and that is too without a change in last modified date.

Thanks in advance.

  • Did you uninstall the old version first? – sfdcfox Nov 29 '19 at 17:10
  • Would he have to uninstall first? I mean it looks like it’s the same package. – Robert Sösemann Nov 29 '19 at 22:26
  • No, I have not uninstalled it. I have upgraded the package . @sfdcfox – Sushant Srivastava Nov 30 '19 at 2:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.