Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2012 at 21:08 UTC
Updated:
29 Jul 2014 at 21:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
yched commentedAttached patch :
- Adds an empty 'field_types' entry in TestFieldWidgetMultiple's annotations
- Makes sure an empty 'field_types' entry is always added to discovered definitions (PluginManager::$defaults)
Comment #2
xjmComment #3
berdirDon't know why HEAD doesn't fail right now either, but this makes sense, is simple and is blocking #1806334: Replace the node listing at /node with a view, #1292470: Convert user pictures to Image Field (both major tasks) and possibly more.
RTBC if it comes back green from the bot.
Comment #4
yched commentedTestbot didn't report back, but there were fails - http://qa.drupal.org/pifr/test/390698
Looking I'll look into this asap
Comment #5
yched commentedSo, turns out the annotations reader cannot parse an "empty array" entry and crashes when it meets one.
Opened #1848570: Upgrade to Doctrine\Common 2.4 for that.
So, patch just has the PluginManager make sure the entry is present, which it should.
Added it on formatters too - and removed 'default_value' over there, this has nothing to do here and is a wrong copy/paste from WidgetPluginManager.
Comment #6
yched commentedComment #7
yched commentedGreen : http://qa.drupal.org/pifr/test/391128
Comment #8
dawehnerLooking forward to get this patch in, as it blocks pretty much everything related with plugin managers.
Comment #9
catchCommitted/pushed to 8.x, thanks!