Skip to content

Command for creating an user fails if there is no role #683

@danrot

Description

@danrot

If you execute the following command:

app/console sulu:security:user:create

When you should enter the choice for the role the following error appears multiple times:

Warning: max(): Array must contain at least one element in /Users/daniel/Development/massiveart/sulu-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Helper/QuestionHelper.php line 116

Metadata

Metadata

Assignees

Labels

BugError or unexpected behavior of already existing functionalityEasy PickRelatively easy to solve for newcomers as well

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions