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

Status

Assignee

Unassigned

Reporter

Marijn Otte

Labels

Product owner

Marijn Otte

Plan date

None

Follow up date

None

Code reviewer

Jeroen van Leeuwen

Developer

Michael Jongman

Refiner

None

Dev hour estimate

None

Max. hours

None

External issue ID

None

Error message

None

Min. hours

None

Story Points

0.5

Time tracking

15m

Epic Link

Sprint

None

Fix versions

Priority

Major
Configure