Bugs item #1568421, was opened at 2006-09-30 18:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=784889&aid=1568421&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bosie (sbosanquet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Blank Category Name Exception (Admin Only)
Initial Comment:
Not entering a category name when creating a new
category
(http://localhost/dnf/Admin/EditCategories.aspx)
generates the following exception:
Server Error in '/dnf' Application.
-------------------------------------------------------
-------------------------
Name is invalid
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.ArgumentException: Name is
invalid
Source Error:
Line 143: {
Line 144: if (Name == null ||
Name == String.Empty)
Line 145: throw new
ArgumentException("Name is invalid");
Line 146:
Line 147: if (Name.Length > 100)
Source File: d:\Misc\SF\dnfBB\DNFLib\BOL\Admin.cs
Line: 145
Stack Trace:
[ArgumentException: Name is invalid]
DotNetForum.Library.BOL.Admin.CategoryCreate(Int64
BoardID, String Name, Int32 Position) in
d:\Misc\SF\dnfBB\DNFLib\BOL\Admin.cs:145
DotNetForum.WebSite.Admin.Classes.CreateCategory.btnCre
ateCategory_Click(Object sender, EventArgs e) in
d:\Misc\SF\dnfBB\wwwroot\Admin\Controls\CreateCategory.
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=1568421&group_id=152364
|