Updated: Comment #0

Problem/Motivation

I accidentally left a contrib module with a half-converted info file in my codebase when reinstalling and got this:

okwhatevs.png

What the huh?

This is before I've even selected an install profile. The error message does not give me a clue as to where it is from; it just appears Drupal is broken.

Proposed resolution

  • Make the error messages presented for .info.yml (and possibly other .yml) syntax errors identify the file that contains the bug.
  • Don't break the installer just because there's a dud module sitting unused on the file system.

Remaining tasks

TBD

#2085231: [META] Track and resolve examples of brittleness
#2057259: Malformed modulename.info.yml file causes fatal error

CommentFileSizeAuthor
okwhatevs.png39.64 KBxjm

Comments

swentel’s picture

alexpott’s picture

Status: Active » Closed (won't fix)
alexpott’s picture

Issue summary: View changes

Updated issue summary.