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
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:
- 3531037-publishing-a-workspace
changes, plain diff MR !12411
Comments
Comment #3
amateescu commentedComment #4
plachLooks good and works well, thanks!
Comment #6
catchCommitted/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