Cannot save M.Asset publishing configuration


Description

When applying schema changes to M.Asset (for example, after adding a new taxonomy field based on User), saving the publishing configuration can fail on the Delivery platform page.

One or both of the following errors may be displayed:

"Cannot save M.Asset publishing configuration, the following properties: PublicCollections.PublishStatus, PublicCollections.PublishStatusDetails cannot be published"
"The following relations: AssetApprover cannot be published as related definitions are not publishable"

This issue can occur when non-publishable members, such as PublicCollections.PublishStatus and PublicCollections.PublishStatusDetails, are present in the M.Asset publishable members list.

Solution

To resolve the issue, remove the non-publishable members from the M.Asset publishable members list in the Delivery platform page:

  1. In Sitecore Content Hub, open Manage.
  2. Open Delivery platform.
  3. Select the M.Asset entity definition.
  4. Remove the following properties from the publishable members list, if present:
    • PublicCollections.PublishStatus
    • PublicCollections.PublishStatusDetails
  5. Remove user-to-asset relations from the publishable members list (for example, AssetApprover), because the User definition is not publishable by design and this can cause a publishability mismatch.
  6. Save and publish the changes.