Orphaned nodes report should only check if the nodes' moderation state is "published"

Created on 16 January 2023, almost 2 years ago
Updated 25 January 2023, almost 2 years ago

Problem/Motivation

The client only needs that the orphaned nodes report provides nodes' moderation state as "published".

Steps to reproduce

Proposed resolution

Proposed changes:
Cron job and batch_ProcessNodes_Op logic should add the implementation below:

        $nmstate = $node->get('moderation_state')->getValue();
        $nmstatetmp = array_pop($nmstate);
        $nmstateStr = array_pop($nmstatetmp);
        if ($nmstateStr == 'published') {
          ............
        }

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada jamesyao

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024