Admin Groups - Error appears during Group renaming
- Status
- Closed
- Subject
- Admin Groups - Error appears during Group renaming
- Version
- 3.x
- Category
- Error
- Feature
- Group
- Submitted by
- Trincio
- Volunteered to solve
- Philippe Cloutier
- Lastmod by
- Philippe Cloutier
- Rating
- Description
When you try to edit and rename the group in Administration->Groups appears the following error message:
An error occured in a database query!
Context:
File tiki-admingroups.php
Url tiki-admingroups.php
Query:
insert into `tiki_group_inclusion`(`groupName`,`includeGroup`) values(?,?)
Values:
0 G_Communication
1 Registered
Message:Built query was probably:
insert into `tiki_group_inclusion`(`groupName`,`includeGroup`) values('G_Communication','Registered')_
Step to reproduce:
Create a Group G.
{
Assign to this group some user
Assign to this group a default
}
Rename the Group G into G'
_Notes:
I checked the security flag because where there's a DB error could be there a SQL security issue.
- Solution
This happened when the renamed group included another group. remove_all_inclusions() wouldn't work due to a group_exists() bug.
Fixed in trunk by r22781.- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2837
- Created
- Thursday 29 October, 2009 14:59:43 UTC
by Unknown - LastModif
- Sunday 01 November, 2009 17:59:43 UTC