Provided view config does not work as expected - Unpublished forward revision not shown

Created on 10 September 2023, over 1 year ago
Updated 14 October 2023, about 1 year ago

Problem/Motivation

Split out from 📌 Provided view config does not work as expected - Edit and Delete links broken. Needs review :

If the scheduled publish field content is on a unpublished forward revision draft of an already published entity it is not displayed on the Scheduled Publish view.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

3.10

Component

Code

Created by

🇮🇪Ireland lostcarpark

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

Comments & Activities

  • Issue created by @lostcarpark
  • 🇨🇭Switzerland yobottehg Basel

    Steps to reproduce:

    1. Install content moderation
    2. Create a revisionable node which uses the default editorial content moderation workflow and which has the scheduled_publish field
    3. Create a published node
    4. Create a new draft out of that published node (Unpublished forward revisions)
    5. Add a scheduled publish to that draft to transition from draft to published to that unpublished forward transition
    6. This will work via drush call
    7. This entry will not be visible on the provided view.
  • 🇬🇧United Kingdom andy_w

    I began looking at this issue, and could see that the forward revisions were not included, the attached patch will cause future revisions to be included in the dynamic view. There is still an issue around moderation state and datetime that requires further work.

    So in short the patch will show all valid rows, it will however be missing the future publishing state and execution time.

  • 🇮🇪Ireland lostcarpark

    Looks promising. It will also need an update hook to add to the view for existing installs, but we can work out the other issues in the view, that should be easy enough to add.

Production build 0.71.5 2024