Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2014 at 02:34 UTC
Updated:
14 Dec 2014 at 23:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
benjy commentedThis will be super helpful for Migrate testers as this error keeps popping up and overall improves DX.
Comment #2
alexpottMissing String::format()
Comment #3
benjy commentedRe-rolled with String::format() added.
Comment #4
penyaskitoThis would have been super-helpful while debugging #2355909: language.settings config is not scalable.
Comment #5
tstoecklerWow, this patch is amazing. The bad part about this is that this often happens when something goes wrong during the installer and/or migrations. And slowing down these already time-intensive processes by switching on XDebug just to figure out which friggin' entity it couldn't load is super annoying and in aggregate has probably cost me multiple hours already.
+10000
Comment #6
chx commentedDon't be be so enthusiastic , you will never get to see this exception on those places instead you'll get an exception in handling the error... which if I would care I would've filed already to fix it but alas I don't. This one here produces confusing migrate bug reports and yet noone was fixing so I did it. Don't expect me to take the generic one, though.
Comment #7
tstoecklerRight, the "Exception thrown during handling of an exception" is nice as well. But I do regularly get this from
drush si, maybe the error handling is different there? Don't know. Anyway, I am very enthusiastic about this, I'm not making this up :-)Comment #8
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 ea24dc5 and pushed to 8.0.x. Thanks!
Comment #10
penyaskitoWe all missed that this should use %bundle in the array.
Comment #11
penyaskitoAttached patch in the follow-up: #2384665: Follow-up: FieldConfigBase::calculateDependencies() fatal error is unhelpful