[PP-1] Entity API bug affecting REST: "last changed" timestamp not updated and "create new revision" setting not respected when PATCHing via REST

Created on 21 December 2016, almost 9 years ago
Updated 18 October 2025, 29 days ago

Problem/Motivation

  1. the "last changed" timestamp is not updated when updating entities via REST
  2. the "create new revision" setting on node types is not respected when updating entities via REST

Proposed resolution

Fix this, and add test coverage.

Remaining tasks

  1. Fix the underlying root cause, in 🐛 Move entity preparation from form controller to entity class: "last changed" timestamp not updated and "create new revision" setting not respected when updating entities via Entity API Postponed: needs info
  2. Add test coverage in this issue

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Postponed: needs info

Version

11.0 🔥

Component

rest.module

Created by

🇨🇴Colombia mpastas

Live updates comments and jobs are added and updated live.
  • DrupalWTF

    Worse Than Failure. Approximates the unpleasant remark made by Drupal developers when they first encounter a particular (mis)feature.

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.

No activities found.

Production build 0.71.5 2024