Problem/Motivation

The following scenario should allow authenticated users to archive the Page B, which is referred by an archived Page A:

1.Page A has a link to Page B

2.Page A is published and then archived.

3. The user wants to archive Page B.

As a result, the system stops the user from archiving it as the archived Page A has a link to Page B.

So the safedelete should allow the user to archive the Page B, which is referred by the archived Page A.

Steps to reproduce

Proposed resolution

      $moderation_state = $entity->get('moderation_state')->getString();
      if ($moderation_state == 'published') {
        $entities[$entity->getEntityTypeId()][$entity->id()] = $entity;
        $items_count++;
      }

Remaining tasks

User interface changes

API changes

Data model changes

Comments

jamesyao created an issue. See original summary.

jamesyao’s picture

Issue summary: View changes
jamesyao’s picture

joseph.olstad’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.