Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration entity system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
24 Dec 2013 at 11:10 UTC
Updated:
15 Feb 2026 at 08:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedComment #2
Anonymous (not verified) commentedNeeds review in cases:
drush cc all
core/update.php
core/rebuild.php
Comment #3
Anonymous (not verified) commented(10:49:45) chx: likin: $prefix = "field.$type"; line 259
(10:49:54) chx: likin: foreach (config_get_storage_names_with_prefix($prefix) as $config_id) {
...
(11:05:22) chx: core/modules/field_ui/lib/Drupal/field_ui/DisplayOverviewBase.php
(11:05:23) chx: 745: $ids = config_get_storage_names_with_prefix($config_prefix . '.' . $this->entity_type . '.' . $this->bundle);
...
(11:06:07) chx: likin: core/modules/entity/entity.module is full of this
(11:06:31) chx: likin: http://privatepaste.com/f081d1b26f
...
(11:07:39) chx: likin: look into your config dir. you will see stuff like entity.form_mode.user.register.yml if you list on entity.form_mode.user then say entity.form_mode.userfoo can match
(11:07:48) chx: likin: that's why you need a terminating dot.
Comment #4
Anonymous (not verified) commentedlooks good to me.
Comment #5
chx commentedErm nope. Most of the ones I listed still need fixing.
Comment #6
xjm1: config-prefixes-2162271-1.patch queued for re-testing.
Comment #7
xjmSorry, crosspost.
Comment #9
Anonymous (not verified) commentedComment #10
Anonymous (not verified) commentedComment #11
Anonymous (not verified) commentedComment #12
Anonymous (not verified) commentedComment #13
Anonymous (not verified) commentedok, i actually grep'ed this time, and i can't see any more config_get_storage_names_with_prefix() call sites that don't have the trailing '.'.
so, RTBC for reals.
Comment #14
webchickCommitted and pushed to 8.x, though I can definitely see why people miss this.
Seems like we should have a follow-up to see if we can somehow catch this via automated tests when we forget, or at least make sure it's in the documentation under https://drupal.org/node/1667894.