Adding a group fails when no data is entered

Description

Steps

  • Run the provided Behat test, or add a group without entering a name or role

Error message

The property "roles" in class "Integrated\Bundle\UserBundle\Model\Group" can be defined with the methods "addRole()", "removeRole()" but the new value must be an array or an instance of \Traversable, "NULL" given.

Behat test

(example to add to features/group.feature, validator message may be different)

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

External issue ID

None

Client

Integrated Marijn

Min. hours

None

Dev hour estimate

None

Epic Link

Sprint

None

Fix versions

Configure