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

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions