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

#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

CommentFileSizeAuthor
#2 forum-field-exception-2076435.2.patch2.66 KBlarowlan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

larowlan’s picture

Title: Enabling forum on Standard install profile from the UI cases an Exception » Enabling forum on Standard install profile from the UI causes an Exception
larowlan’s picture

Status: Active » Needs review
Issue tags: +Needs manual testing
FileSize
2.66 KB

Test and fix
Note that this doesn't fail in the tests through Simpletest UI.

larowlan’s picture

This 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

larowlan’s picture

Status: Needs review » Closed (works as designed)

larowlan--
I had an empty field config yml in the patch
@berdir++

larowlan’s picture

Issue summary: View changes

Updated issue summary.