@umbraco-cms/backoffice
    Preparing search index...

    Function resolveStaleVariantRoute

    • Checks whether the variant part of a workspace URL refers to variant options that no longer exist — e.g. after the content type's Vary by Culture setting changed — and resolves a corrected path. Split-view parts are resolved individually and deduplicated.

      Parameters

      Returns string | null

      The corrected path without the query string, or null when the URL is valid or not applicable.

      Deprecated since v17.9. This is specific to content workspaces and no longer used by the core. Scheduled for removal in Umbraco 20.