Bugs item #1568423, was opened at 2006-09-30 18:29
Message generated for change (Settings changed) made by sbosanquet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=784889&aid=1568423&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: 7
Submitted By: Bosie (sbosanquet)
Assigned to: Bosie (sbosanquet)
Summary: Blank Forum Name Generates Exception (Admin Only)
Initial Comment:
Create a new category then click create forum without
entering any text. This generates the following
exception:
Server Error in '/dnf' Application.
-------------------------------------------------------
-------------------------
Value cannot be null.
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.ArgumentNullException: Value
cannot be null.
Parameter name: Name
Source Error:
Line 239:
Line 240: if (Name == null ||
Name.Length == 0)
Line 241: throw new
ArgumentNullException("Name");
Line 242:
Line 243: Forum forum =
DALHelper.GetDatabase().AdminForumCreate(_session,
Source File: d:\Misc\SF\dnfBB\DNFLib\BOL\Admin.cs
Line: 241
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: Name]
DotNetForum.Library.BOL.Admin.ForumCreate(Category
category, String Name, Int32 Position) in
d:\Misc\SF\dnfBB\DNFLib\BOL\Admin.cs:241
DotNetForum.WebSite.Admin.Controls.CreateForum.btnCreat
eForum_Click(Object sender, EventArgs e) in
d:\Misc\SF\dnfBB\wwwroot\Admin\Controls\CreateForum.asc
x.cs:93
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=1568423&group_id=152364
|