« Previous | Next » 

Revision ec284d85

IDec284d851ef79af9440dd94bb73168a56edbe886

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