Loading...
 
Skip to main content

Impossible to add user groups

Status
Open
Subject
Impossible to add user groups
Version
18.x
Category
  • Bug
Feature
Group
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

There seems to be a bug in the process of creating new user groups. When you log in as Admin, and go to tiki-admingroups.php, you should be able to create a new group of users. There is a tab "Create group".

When you want to create a new group, obviously you have to give it a (new) name. So you enter that, and a description. For starters, you could have it inherit rights from Anonymous. If you don't need a registration tracker, you can leave this out (e.g. if you do not want that users can assign themselves. Example: You want to create a new group of "premium users" that will get additional rights to see some content not visible for others).

If membership shall not expire, there is no need for an expiration date.

If you do all that, you will get a confirmation dialog "Create the group GROUPNAME?". You click on Create and - get an error message

"Error
Group name cannot be empty".

But group name was NOT empty... Actually, the whole dialog "Create the group GROUPNAME?" would not make sense IF it would be able. So even if the error message "cannot be empty" would work correctly, which it doesn't, it would come too late, it should be before the confirmation dialog...

There is also a PHP error, which might (or might not) be unrelated:

"NOTICE (E_NOTICE): Undefined variable: groupcolor
At line 411 in tiki-admingroups.php"

Importance
9
Easy to solve?
5
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8022
Created
Saturday 08 January, 2022 12:02:31 UTC
by hman
LastModif
Saturday 08 January, 2022 12:21:07 UTC


Show PHP error messages