When using the Drush command cas-user-create with newer versions of Drush, there are outputformat errors from Drush because it is attempting to output all fields in the user account and multiline fields cause failures in the 'key-value-list' output from _drush_user_print_info(). Even though the user is created properly, it sets an error which caused our builds to begin failing.

This patch simplifies slims down the fields being output (we have a ton so the output used to be huge), and outputs it as a table.

Comments

vinmassaro created an issue. See original summary.

vinmassaro’s picture

Status: Active » Needs review
StatusFileSize
new1.25 KB
vinmassaro’s picture

Issue summary: View changes
bwood’s picture

Status: Needs review » Reviewed & tested by the community

Our automation scripts and tests were hitting this error too. The patch fixes the problem in version 1.3 as well. Thanks for your work here. I hope we can get this committed.

  • 880685a committed on 7.x-1.x
    git commit -m 'Issue #2629026 by vinmassaro: Simplify output of...
bkosborne’s picture

Status: Reviewed & tested by the community » Fixed

Committed. I tested with Drush 6 and Drush 8.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.