Closed (fixed)
Project:
Drupal core
Version:
9.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Oct 2019 at 07:53 UTC
Updated:
28 Nov 2019 at 11:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirMaybe this was a bit much at once :)
This removes entity manager class/service, a ton of constructor updates, and a bunch of deprecated files/classes that depending on it still, including entity.inc, simpletest KernelTestBase and so on.
Also quite a few documentation cleanups of old "entity manager" references.
With this patch, there is no mention of "entity.?manager" or the change record node ID left.
Probably missed a few calls on depending things that I removed, lets see.
Comment #3
berdirTest run seems to be going fairly well, a few fixes.
Comment #4
berdirThings we could do to get the size of this down include for example removing all deprecated test base classes and traits first, including KernelTestBase.
Comment #5
alexpott193 files changed, 182 insertions, 5945 deletions.<3 - how cool is that.Comment #6
martin107 commentedWow I am excited to see all that code vanish.
I sat down while fresh and had a visual scan of the patch ... I could justify all the changes.
It is difficult to absolutely prove that ALL the changes have been made
It is the nature of +400k patch that they are borderline visually review-able.
In addition I searched for the obvious candidates
entityManager,
entitiy.manger,
entity_manager,
entity manager
and I can say those words no longer exist in the codebase
Given the inherent difficulties. I take an slightly modified view from bedir.
I say he has clearly identified the bulk of the tasks. And we should view this as a standalone work item. We should commit this as it ...
As we live with the codebase we will see followups and it is fine to create followups.
Comment #7
berdirWell, first we'll need to at least make Drupal 9 actually installable, but thanks for the review & RTBC!
Comment #8
berdirFirefox, sometimes you do strange things with selects.
Comment #9
jibranThere are some PHPCS warnings on the test run.
Comment #10
berdirYeah, if only PhpStorm would automatically remove use statements... :)
Comment #11
jibranvendor/bin/phpcbf --standard=./core/phpcs.xml.dist core/is FTW.Comment #12
mikelutzComment #13
voleger#10 Needs reroll for 9.0.x branch
Comment #14
berdirBoth easy to resolve. \Drupal\Tests\file\Functional\FileFieldValidateTest::testAssertFileExistsDeprecation() could possibly be removed completely, but seems a bit too off topic and non-trivial as there's some phpunit compatibility stuff going on and we'd need to remove that trait too.
And ViewsSelection just conflicted on a new trait that was added...
Comment #15
martin107 commentedBy doing a file diff between 10 and 14
I can see all Bedir says is true ( see 14 )
I also checked that no additional coding standard errors were introduced.
Sorry this has taken so long to get back to RTBC ... I will be dancing around my desk for a week when this gets committed.
Comment #16
alexpottRerolled - there were very simple to resolve conflicts due to #3048498: [≈Nov. 11] Fix Drupal.Commenting.Deprecated coding standard
Comment #17
alexpottComment #18
catchAdded to https://www.drupal.org/node/2549139 and a release notes snippet.
Comment #19
alexpottComment #20
alexpottCommitted f2469de and pushed to 9.0.x. Thanks!