« Previous | Next » 

Revision 30124b20

ID30124b2021fcd7eed4938218d0422b5b23bff73e

Added by Robert Lemke about 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