Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2015 at 15:01 UTC
Updated:
5 May 2015 at 12:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xanoHere are a patch that expose the fact that derivers are run, and a fix for the bug.
Comment #2
tim.plunkettThis is another example of where #2422815: Don't initialize the discovery object in plugin managers, unless needed would be nice
Comment #3
xanoAlso,
DerivativeDiscoveryDecorator::mergeDerivativeDefinition()will not work with non-array definitions.Comment #4
xanoAs mentioned on IRC, #2458789: Introduce PluginDefinitionInterface can introduce support for 'internal' definition merges. This means that theoretically we can re-introduce derivative support to entities in the future.
I discussed this issue with berdir at Drupal Dev Days and our conclusion was to just remove the illusion of support for now and get this issue in.
Comment #5
berdirI think this makes sense, making it look like derivatives work is currently misleading and they would be very broken. We can still make it nicer in the other issue, it doesn't have to block this.
Comment #6
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed a336347 and pushed to 8.0.x. Thanks!