dmu-upgrade fails when twig debug is enabled

Created on 29 April 2015, about 9 years ago
Updated 29 March 2023, about 1 year ago

Problem/Motivation

Running dmu-upgrade with twig debug enabled will result in errors like these (8.x-1.3 with Drush 18.1.17 in Acquia Dev Desktop):

Indexing...done.
Error at line 3:1: unexpected < operator!          [error]
Error at line 3:1: unexpected < operator!          [error]

This is because of the BEGIN OUTPUT and END OUTPUT HTML comments that are inserted around any twig template when using this mode.

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇺🇸United States camoa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024