Problem/Motivation

In #2954039: Fix ::label() logic and add a ParagraphInterface::getOrphanStatus() helper we are introducing some helpers to make it easier to identify if a paragraph entity is orphan (which will allow usage referral, garbage collection, etc).

However, the solution implemented there is partial because in some scenarios it is necessary to query all previous parent's revisions to reliably detect the orphan status.

When #2954512: Store information about a paragraph's parent revision is done, we will have the tools to reliably detect orphan status in those scenarios as well.

Proposed resolution

After #2954512: Store information about a paragraph's parent revision, improve the ::getOrphanStatus() to detect orphan status in all scenarios.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

marcoscano created an issue. See original summary.

marcoscano’s picture

Title: Properly detect if a paragraph is orphan » [PP-1] Properly detect if a paragraph is orphan
Status: Active » Postponed
psf_’s picture

+1 :D

berdir’s picture

Status: Postponed » Closed (duplicate)

ERR now has usage checking for paragraphs built in some of the automatic cleanups and also a manual purge batch.