Problem/Motivation

Revision base fields do not get created.

Proposed resolution

Use the EntityRevisionLogTrait;

<?php
$fields += static::entityRevisionLogBaseFieldDefinitions();
?>

Remaining tasks

Add tests.

User interface changes

none

API changes

none

Data model changes

Revision base fields get created.

Comments

Jaesin created an issue. See original summary.

dawehner’s picture

Issue tags: +Novice

Let's see whether someone also looks out for novice tasks on contrib modules.

mimran’s picture

Assigned: Unassigned » mimran
mimran’s picture

Assigned: mimran » Unassigned
dawehner’s picture

Note: There is a PR for that already: https://github.com/Jaesin/content_entity_base/pull/63

anup.singh’s picture

Assigned: Unassigned » anup.singh
anup.singh’s picture

Assigned: anup.singh » Unassigned
Status: Active » Needs review
StatusFileSize
new417 bytes

Hi dawehner,

I have create patch for this, please review.

Thanks
anup.singh

dawehner’s picture

@anup.singh
I'm sorry, but the PR already contains that change as well as other important bug fixes.

dawehner’s picture

  • Jaesin committed d05d94b on 8.x-1.x
    Issue #2718299, #2716355, #2716341, #2716353, #2716343, #2716337, #...
dawehner’s picture

Status: Needs review » Fixed

Thank you for providing a patch!
This is resolved now.

Status: Fixed » Closed (fixed)

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

Jaesin’s picture

Fixed in d05d94b.