Bugs item #1568471, was opened at 2006-09-30 21:07
Message generated for change (Settings changed) made by sbosanquet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=784889&aid=1568471&group_id=152364
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: UI
>Group: Fixed Next Release
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Bosie (sbosanquet)
Assigned to: Bosie (sbosanquet)
Summary: Blank User Group Exception (Admin Only)
Initial Comment:
Trying to create a usergroup with a blank name
generates the following exception:
Server Error in '/dnf' Application.
-------------------------------------------------------
-------------------------
Specified argument was out of the range of valid
values.
Parameter name: Name
Description: An unhandled exception occurred during
the execution of the current web request. Please
review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException:
Specified argument was out of the range of valid
values.
Parameter name: Name
Source Error:
Line 368:
Line 369: if (Name.Length < 1 ||
Name.Length > 100)
Line 370: throw new
ArgumentOutOfRangeException("Name");
Line 371:
Line 372: UserGroup grp =
DALHelper.GetDatabase().AdminUserGroupCreate(_session,
Name, Active);
Source File: d:\Misc\SF\dnfBB\DNFLib\BOL\Admin.cs
Line: 370
Stack Trace:
[ArgumentOutOfRangeException: Specified argument was
out of the range of valid values.
Parameter name: Name]
DotNetForum.Library.BOL.Admin.UserGroupCreate
(String Name, Boolean Active) in
d:\Misc\SF\dnfBB\DNFLib\BOL\Admin.cs:370
DotNetForum.WebSite.Admin.Controls.CreateUserGroup.btnC
reate_Click(Object sender, EventArgs e) in
d:\Misc\SF\dnfBB\wwwroot\Admin\Controls\CreateUserGroup
.ascx.cs:73
System.Web.UI.WebControls.Button.OnClick(EventArgs
e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent
(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBac
kEventHandler.RaisePostBackEvent(String eventArgument)
+7
System.Web.UI.Page.RaisePostBackEvent
(IPostBackEventHandler sourceControl, String
eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent
(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) +5102
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=784889&aid=1568471&group_id=152364
|