Updated: Comment #0
Problem/Motivation
Steps to reproduce:
- Install standard
- Go to modules page (/admin/modules) without overlay
- Enable forum
Proposed resolution
The error is Drupal\field\FieldException: Attempt to create a field with no type. in Drupal\field\Entity\Field->__construct() (line 241 of /var/www/d8/core/modules/field/lib/Drupal/field/Entity/Field.php).
Remaining tasks
Patch
Tests
Reviews
User interface changes
None
API changes
None
Related Issues
#1951268: Convert /forum and /forum/% to new router, remove forum_forum_load(), forum_get_topics(), create Forum service Experienced it here in tests too
#2070651: Introduce a path-based breadcrumb builder, remove the one that's based on {menu_links}. Reproducing it in tests here
Comment | File | Size | Author |
---|---|---|---|
#2 | forum-field-exception-2076435.2.patch | 2.66 KB | larowlan |
Comments
Comment #1
larowlanComment #2
larowlanTest and fix
Note that this doesn't fail in the tests through Simpletest UI.
Comment #3
larowlanThis doesn't occur when installing testing profile via Drush.
Occurs on php 5.3 with standard.
Occurs on simplytest.me
Doesn't occur on 5.4 with either profile
Comment #4
larowlanlarowlan--
I had an empty field config yml in the patch
@berdir++
Comment #4.0
larowlanUpdated issue summary.