Locale is storing data in the batch $context['results'] key but this key is reserved for results.

This results in a notice when performing drush locale:import:
Array to string conversion in /vendor/consolidation/output-formatters/src/Formatters/TsvFormatter.php on line 37

We should either store results in the 'results' key or use another key in the $context array.

See https://github.com/drush-ops/drush/issues/3721

CommentFileSizeAuthor
#2 3006084_2.patch1.79 KBmpp

Comments

mpp created an issue. See original summary.

mpp’s picture

StatusFileSize
new1.79 KB
mpp’s picture

Status: Active » Needs review
mpp’s picture

Issue summary: View changes
mpp’s picture

Title: Fix batch API use in locale module » Fix batch API use of context 'results' key in locale module

Status: Needs review » Needs work

The last submitted patch, 2: 3006084_2.patch, failed testing. View results

mpp’s picture

Status: Needs work » Closed (won't fix)