Why does a portal fail to publish when bidirectional relationships are not established on dependent record types?

Certified Lead Developer

We're on cloud v23.2 and have observed that a portal fails to publish if one of the record types it is dependent on has a unidirectional relationship. In order for publishing to be successful, we need to make sure all dependent record types have bidirectional relationships established.

For example:

  • Portal references Record A, which has a relationship established pointing to Record B.
  • Record B does not have a relationship defined for Record A.
  • Portal fails to publish. 
  • Create relationship on Record B to Record A
  • Portal publishes

Is this expected behavior? 

  Discussion posts and replies are publicly visible