Upgraded plone to 5.2 instance error IntIdMissingError: z3c.relationfield.relation.RelationValue

Hello! Please help solve the problem.
I am trying to upgrade from version 5.1.6 to 5.2.7
I get the error in the next step:
/portal_setup/manage_upgrades
Upgrade Step Group
-> Run to52beta1 upgrade profile. (5201 → 5202)
-> Run to52rc1 upgrade profile. (5201 → 5202)

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 337, in publish_module
  Module ZPublisher.WSGIPublisher, line 255, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 61, in call_object
  Module Products.GenericSetup.tool, line 1088, in manage_doUpgrades
  Module Products.GenericSetup.upgrade, line 168, in doStep
  Module plone.app.upgrade.v52.betas, line 110, in to52beta1
  Module plone.app.upgrade.v52.betas, line 72, in remove_interface_indexes_from_relations_catalog
  Module zc.relation.catalog, line 564, in unindex
  Module z3c.relationfield.index, line 42, in dump
  Module five.intid.intid, line 41, in getId
  Module zope.intid, line 108, in getId
IntIdMissingError: <z3c.relationfield.relation.RelationValue object at 0xad63b22c oid 0x4b396 in <Connection at b4992dec>>

I’m getting this too on a current upgrade project. It’s probably the next thing I have to figure out so I’ll post again if I make progress.

Do you know if it is hitting this for you on a Relation field in a custom or extended content type vs an included type? For me it is not a default type it is a custom field on a type provided by an add-on.

Plone Foundation Code of Conduct