Problem/Motivation

When a workspace is published, the changed timestamp for its entities is not updated.

This can be problematic, for example, in listings that are sorted by "changed time descending". When a long-lived workspace gets published, its content might not appear at the top of that listing if some other entities were changed more recently.

Steps to reproduce

Create a workspace, edit a node inside it, and publish the workspace after a few seconds. Notice that the node's changed time is not updated.

Proposed resolution

On workspace publishing, update the changed time for its entities.

Remaining tasks

Review.

User interface changes

Nope.

Introduced terminology

N/A

API changes

Nope

Data model changes

Nope.

Release notes snippet

N/A

Issue fork drupal-3531037

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

amateescu created an issue. See original summary.

amateescu’s picture

Status: Active » Needs review
plach’s picture

Status: Needs review » Reviewed & tested by the community

Looks good and works well, thanks!

  • catch committed 0ede597d on 11.x
    Issue #3531037 by amateescu: Publishing a workspace should update the...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x, thanks!

Seems unlikely but not inconceivable that someone would be relying on the current behaviour, so not backporting to 11.2 or 10.x

Status: Fixed » Closed (fixed)

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