Problem/Motivation

While debugging the test errors for #2231853: Rename maintenance-page template into page--maintenance + install-page into page--maintenance--install I discovered they were caused by the database dump script incorrectly reformatting the path_regex for the route. This happens because the Symfony Console component looks for color tags and replaces parts of them by default.

Proposed resolution

specify OUTPUT_RAW as the output type when writing the dump script.

Remaining tasks

Review the patch.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Comments

Antti J. Salminen created an issue. See original summary.

stefan.r’s picture

klausi’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

makes sense, can we have a test case for this?

plach’s picture

Status: Needs work » Closed (duplicate)
Related issues: +#2565259: Some route serializations in update test database dumps are broken