Revision support for redhen 8.x

Created on 12 October 2016, about 8 years ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

It's important to have changes in contact, organization and connection documented well, so when someone does accidentally remove important information, we could at least restore it from a history. Therefore it is needed to enable storing revision with relevant data (revision_uid, revision_timestamp, revision_log - like in node.module).

Proposed resolution

* Enable revisions for contact, org and connection (looks like some basics are there already)
* Store a new revision by default, every time the entity is changed
* Add revision_uid, revision_timestamp and (maybe) revision_log to the fields for the revision
* Provide UI for revision history (tabs)

https://www.drupal.org/docs/8/api/entity-api/making-an-entity-revisionable β†’

Remaining tasks

* Implementation
* Tests

User interface changes

* todo: "Revision" tab

API changes

* none (?)

Data model changes

* revision_uid, revision_timestamp and revision_log for redhen_*_revision

✨ Feature request
Status

Active

Version

1.0

Component

Shared

Created by

πŸ‡©πŸ‡ͺGermany derhasi

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