Loading...
 
Skip to main content

Cannot add user to group with long name (over 32 chars) when another similar group already exists

Status
Closed
Subject
Cannot add user to group with long name (over 32 chars) when another similar group already exists
Version
6.x
7.x
Category
  • Error
Feature
User Administration (Registration, Login & Banning)
Resolution status
Fixed or Solved
Submitted by
Nelson Ko
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

When you have a group name like "Finance and Marketing Departments" and you create another group called "Finance and Marketing Departments Moderators". You will not be able to add users into the latter group if that user is already in the first group. This is caused by "duplicate key" error in the attempt to add the user, because the key length limitation is 32 chars.

This bug might probably be Mysql settings dependent.

Solution
Workaround is to change the name to be more distinguishing within the first 32 chars.
Workaround
Importance
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3838
Created
Tuesday 29 March, 2011 15:03:30 UTC
by Nelson Ko
LastModif
Tuesday 30 June, 2026 16:32:15 UTC


Show PHP error messages