Skip to content

DrushDriver: parseUserId($info) does not work anymore #281

@guillaume-a

Description

@guillaume-a

Given I use drush 12.5.3
When I launch command vendor/bin/drush user-create foo --mail foo@bar.baz --password foobar
I Receive this output

 --------- ----------- ----------- --------------- ------------- 
  User ID   User name   User mail   User roles      User status  
 --------- ----------- ----------- --------------- ------------- 
  550895    1@test.fr   1@test.fr   authenticated   1            
 --------- ----------- ----------- --------------- ------------- 

The probleme is, parseUserId is looking for this pattern /User ID\s+:\s+\d+/ which does not match.
So DrushDriver::userCreate fails with the output:

 [warning] Unable to load user: zCUYaasa

In UserCommands.php line 387:
                                    
  Unable to find any matching user  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions