Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: integrated-0.7
    • Components: None
    • Labels:
    • Story Points:
      0.5

      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)

        Scenario: Add group validations
          Given I am authenticated as "demo"
          And I am on "/admin/group/"
          When I follow "New"
          And I press "Create"
          Then I should see "This value should not be blank"
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Marijn Otte
              Client:
              Integrated Marijn
              Product owner:
              Marijn Otte
              Developer:
              Michael Jongman (Inactive)
              Code reviewer:
              Jeroen van Leeuwen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                OTM