user_update_10000 output breaks drush JSON output

Created on 1 November 2024, about 2 months ago

Problem/Motivation

The output of user_update_10000() is a notice which uses % markup.
The HTML output of this contains double quotes (The roles <em class="placeholder">Editor, Webmaster</em> have had non-existent permissions removed. Check the logs for details.).
These break the JSON-based output of drush.

The update itself will run fine regardless, but a scary red error block will be shown on the cmd-line when drush is used.

Steps to reproduce

Proposed resolution

Replace the % markup with @

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Needs work

Version

10.5 ✨

Component

user.module

Created by

πŸ‡³πŸ‡±Netherlands spokje

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024