« Previous | Next » 

Revision ec284d85


Added by Robert Lemke over 8 years ago

[BUGFIX] setParentRoles() fails if passed roles contain duplicates

Fixes an issue where Doctrine failed inserting parent roles if the array
passed to Role->setParentRoles() contained duplicates.

Even though getParentRoles() does return roles without duplicates,
setParentRoles() did not filter duplicates and caused the SQL error
mentioned in the related issue ticket.

Change-Id: I6f0ed41e74d0f2100990368f930b558fe0f3ed2f
Resolves: #47473
Releases: master, 2.0

  • added
  • modified
  • copied
  • renamed
  • deleted