Problem/Motivation
When I create an entity reference field to "Field" config entity, I get this error:
Drupal\Core\Config\ConfigValueException: node.article.body key contains a dot which is not supported. in Drupal\Core\Config\ConfigBase->validateKeys() (line 211 of core/lib/Drupal/Core/Config/ConfigBase.php).
Steps to reproduce
1. Create a custom block type (/admin/structure/block/block-content/types/add)
2. Add a new field to the custom block type
2.1 Reference > Other
3. Select Field under Configuration
4. Change it to Unlimited (multivalue)
5. Reference method: Config filtered by specific fields
6. Select Body from Node Article (you need to inspect in order to figure that out) - See attached image
7. Click on save
Result:
Drupal\Core\Config\ConfigValueException: node.article.body key contains a dot which is not supported. in Drupal\Core\Config\ConfigBase->validateKeys() (line 211 of core/lib/Drupal/Core/Config/ConfigBase.php).
Comments
Comment #3
luke.leberOuch! This is a nasty issue.
I think we can probably take the approach that was taken in https://www.drupal.org/project/drupal/issues/2780869 to fix this.
Comment #4
luke.leberThank you for a very detailed bug report. I've escalated to critical because this involves a WSOD.
Comment #7
luke.leberCommitted and pushed to 1.0.x - thanks!