Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Apr 2017 at 19:36 UTC
Updated:
17 May 2018 at 15:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
janec commentedHi, I'm @ drupalcon Vienna and about to try to help with this issue.
Comment #4
janec commentedHi, there is only one deprecated private function. Since it is private nobody can use it outside of the class it self. The method is used only once on line 295. Is it worth documenting the necessary changes for this single usage?
Comment #5
tedbow@Janec thanks starting to this.
We don't want to create a separate issue for each file but for every change which may affect multiple files.. This
@deprecatedtag was added in #2248983: Define the revision metadata base fields in the entity annotation in order for the storage to create them only in the revision table which has 2 change record https://www.drupal.org/node/2831499 https://www.drupal.org/node/2870643If there not already an issue for this we want to make sure that all
@deprecatedtags from that issue have@seetag pointing https://www.drupal.org/node/2831499So we would also need to change the title of this issue to reflect the change record concept not an individual file.
There are 2 commits that mention #2248983: Define the revision metadata base fields in the entity annotation in order for the storage to create them only in the revision table : http://cgit.drupalcode.org/drupal/log/?qt=grep&q=2248983
Setting back to Active because there is not a patch yet.
Comment #7
nikro commentedHi,
We're working on this issue together with @mecmartini during the SprintWeekend2018.
We've analyzed the original changes in: https://www.drupal.org/project/drupal/issues/2248983 and noticed that we need to add 2 references to the change of record: #2831499: Revision metadata fields are now defined in the entity annotation.
Patched attached below, also adjusted the title and description of the issue.
Comment #8
sk33lz commentedThe #7 patch applies cleanly to 8.6.x.
Comment #9
borisson_Looks solid.
Comment #11
alexpottCrediting @time2buzzthetower for creating the issue, @tedbow for issue management and @mecmartini as according to #7 they worked on this too.
Comment #12
alexpottThis is not really required. All post updates will be cleared out during the preparation for Drupal 9 - like hook_update_N()'s. Fixed on commit.
Committed and pushed 951b4334fb to 8.6.x and 2be4ef6160 to 8.5.x. Thanks!
As docs change backported to 8.5.x.
Comment #15
Anonymous (not verified) commented8000!!! You really are a legendary person, @alexpott!