Double quotes in reroute_email_update_8202 breaks JSON output of drush commands

Created on 5 September 2024, 8 months ago

Problem/Motivation

When running reroute_email_update_8202 using drush, the double quotes in the message 'The outdated property "whitelist" has already been removed. This update is to be skipped.' throw an JSON error.
The update itself is executed fine.

If the update is run as part of a drush deploy, it will halt at the running updates-phase.

Steps to reproduce

- $drush deploy

 In ProcessBase.php line 171:
>
>   Unable to decode output into JSON: Syntax error
>
>   {
>       "0": {
>           "reroute_email": {
>               "8202": {
>                   "results": {
>                       "query": "The outdated property "whitelist" has already been removed. This update is to be skip
>   ped.",
>                       "success": true
>                   },
>                   "type": "update"
>               }
>           },
>       },
>       "1": [],
>       "2": [],
>       "3": [],
>       "4": [],
>       "drush_batch_process_finished": true
>   }

Proposed resolution

Replace double quotes with single quotes.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.2

Component

Code

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