Closed (fixed)
Project:
Entity API
Version:
8.x-1.x-dev
Component:
Core integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2018 at 09:37 UTC
Updated:
4 Apr 2018 at 16:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #3
bojanz commentedWe need to identify whether the same should be done to the removed EntityViewBuilder and/or RevisionableContentEntityForm classes.
I don't think EntityViewBuilder was widely used, but RevisionableContentEntityForm was used at least by Media.
Which breakage have you seen?
Comment #4
alexpottGood point on the form - here's the breakage - #2952374: Update Media Entity to use 8.5.x APIs
Comment #5
alexpottHere's a patch that includes the form. I think we can just extend the ContentEntityForm from core now.
Comment #6
alexpottSo we're good apart from the same test that is failing in #2952374: Update Media Entity to use 8.5.x APIs.
Comment #7
alexpottOkay so to make the Media test pass we have to bring back all the form code. This will at least help people move between entity module's and core's classes.
Comment #8
mxh commentedWon't
trigger_errorblow up logs? Why not just revert the removal, and add@deprecateddocblock to it?Class removals are bad at all for modules which left alpha state.
Comment #9
alexpott@mxh nope that's the magic of the
@in front. But it will allow contrib to detect usage in tests once contrib supports deprecation testing as core does.Comment #10
alexpott@mxh we borrowed Symfony's approach to this - see https://symfony.com/doc/current/components/phpunit_bridge.html#trigger-d...
Comment #11
mxh commentedI see, thanks
Comment #12
bojanz commentedMedia needs to move off RevisionableContentEntityForm as soon as possible, I closed all known bug reports against the issue that removed the class, since the issues are not present in core.
Comment #14
bojanz commentedCommitted. Thanks, Alex. Beta3 incoming.
Comment #16
gchalker@princeton.edu commentedHello,
Would it be possible to layout the best way to install this module if you are not using composer? Such as, best module, best process, etc.? I had to put hours into finding out that this module was causing the error because it did not specify you needed composer in the title. There should be a warning or an alert upfront. Is that something that can be added to the update theme of Drupal?
If now, I would recommend a title change to indicate that it is a composer installed module. Thank you.
G.G.
Comment #17
bojanz commentedThis module doesn't require Composer. Also, you're in a closer issue.