8000 console commands always exit with status 0 after updating to 3.4.16 · Issue #28695 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
console commands always exit with status 0 after updating to 3.4.16 #28695
Closed
@phil-davis

Description

@phil-davis

Symfony version(s) affected: 3.4.16

Description

How to reproduce

  • have some project installed with symfony/console 3.4.15
  • run some symfony console command, e.g. an example ownCloud console command:
php occ user:add aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Enter password: 
Confirm password: 

In Manager.php line 355:
                                                     
  The username can not be longer than 64 characters  

user:add [--password-from-env] [--display-name [
613E
DISPLAY-NAME]] [--email [EMAIL]] [-g|--group [GROUP]] [--] <uid>

$ echo $?
1
  • update to symfony/console 3.4.16
composer update symfony/console
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Updating symfony/console (v3.4.15 => v3.4.16): Loading from cache
Writing lock file
Generating optimized autoload files
  • repeat the console command:
php occ user:add aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Enter password: 
Confirm password: 

In Manager.php line 355:
                                                     
  The username can not be longer than 64 characters  

user:add [--password-from-env] [--display-name [DISPLAY-NAME]] [--email [EMAIL]] [-g|--group [GROUP]] [--] <uid>

$ echo $?
0

Possible Solution

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0