Try our conversational search powered by Generative AI!

GetContentByPermanentLinkQuery always returns content without work id

Fixed in

EPiServer.CMS.UI 10.0.2

(Or a related package)

Created

Aug 26, 2015

Updated

Oct 27, 2016

Area

CMS UI

State

Closed, Fixed and tested


Description

We added an extra parameter to the query which we use to decide if the content returned should contain the work id or not. This should be the default behavior, but it is a breaking change.

PermanentLinkHelper.js and GetContentByPermanentLinkQuery.cs should be changed

Breaking change
GetContentByPermanentLinkQuery always returns the content without work id. It ignores the “stripWorkId” parameter. It has been moved to the EPiServer.Cms.Shell.UI.Rest.ContentQuery.Internal namespace