Data folder of a descendant component remains locked when SXA page is unlocked


Description

Data folder of a descendant component might remain locked when the page with the ancestor component is unlocked. As a result, locked data folder prevents SXA composite renderings from being published. The issue affects non-admin users.

For example, if you have a locked SXA page with a tab component, and a tab subcomponent with a rich text field on it:

\Home page item is locked
\Home\Data\Tabs\New Tab item is locked
\Home\Data\Tabs\New Tab\Data item is locked
\Home\Data\Tabs\New Tab\Data\Text(rich text) item is locked

The page unlocking will result in:

\Home page item is unlocked
\Home\Data\Tabs\New Tab item is unlocked
\Home\Data\Tabs\New Tab\Data item is locked
\Home\Data\Tabs\New Tab\Data\Text(rich text) item is unlocked

Solution

To resolve the issue in Sitecore 10.1, download and install the corresponding cumulative hotfix available in KB1001300.