Item11208: Creating new group without "Group" at the end does not return an error
Priority: Urgent
Current State: Closed
Released In: 1.1.4
Target Release: patch
No validation is done on group names.
Steps to reproduce
- Go to WikiGroups page
- Click on Create a new group
- Enter a group name that does not end in Group
Expected result
An error message indicating the group name must end in
Group, and ideally disabling the
Create group button until that is the case
Actual results
I Got the message Attention Success adding users to group
DavidKramer added to the
DummyGNoEnd group. See
WikiGroups to see the result. ". The group page was created, but the group did not appear on the
WikiGroups page
Notes
* Confirmed with
gac410 on IRC 10/27/2011 this should be marked urgent
--
DavidKramer - 27 Oct 2011
I'll fix this by throwing an Error::Simple in
TopicUserMapper
For 1.1.4., it will state that it failed, and log an error to the Foswiki error log. Post 1.1.4, we need to get all of these errors translated by maketext and passed back to the user. That will be handled in
Item11196
--
GeorgeClark - 28 Oct 2011