BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
ForumForumSupportSupportGeneral SupportGeneral SupportError adding bug after upadte to 0.7.942.0Error adding bug after upadte to 0.7.942.0
Previous Previous
 
Next Next
New Post
 7/1/2009 1:59 PM
 

I just upgraded to 0.7.942.0 from the previous release.  All seemed to be fine until I tried to add a new bug.

When I do try and add a new bug I get the standard application error (try again) with the following in the log:

Event Type:    Warning
Event Source:    ASP.NET 2.0.50727.0
Event Category:    Web Event
Event ID:    1309
Date:        7/1/2009
Time:        1:48:17 PM
User:        N/A
Computer:    SUPPORT
Description:
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 7/1/2009 1:48:17 PM Event time (UTC): 7/1/2009 8:48:17 PM Event ID: 43ec869633d3457ebf4825cb5c4462e7 Event sequence: 81 Event occurrence: 3 Event detail code: 0  Application information:     Application domain: /LM/W3SVC/1/Root/BugNET-3-128908713900433168     Trust level: Full     Application Virtual Path: /BugNET     Application Path: C:\Inetpub\wwwroot\BugNET\     Machine name: SUPPORT  Process information:     Process ID: 2796     Process name: aspnet_wp.exe     Account name: SUPPORT\ASPNET  Exception information:     Exception type: ApplicationException     Exception message: An error has occured in accessing the database  Request information:     Request URL: http://192.168.1.44/BugNET/Bugs/AddBug.aspx?pid=1     Request path: /BugNET/Bugs/AddBug.aspx     User host address: 192.168.1.145     User: mont     Is authenticated: True     Authentication Type: Forms     Thread account name: SUPPORT\ASPNET  Thread information:     Thread ID: 1     Thread account name: SUPPORT\ASPNET     Is impersonating: False     Stack trace:    at BugNET.DataAccessLayer.GenericDataAccessLayer.CreateNewBug(Bug bugToCreate)
   at BugNET.BusinessLogicLayer.Bug.Save()
   at BugNET.AddBug.cmdSubmit_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  Custom event details: 
 

Any ideas about what went wrong?

Thanks,
-Mont

 

New Post
 7/2/2009 12:42 AM
 

I also got an error on adding a new bug (item). This was due to the fact that milestone is now an required item for the business logic. Selecting a milestone when adding a bug prevented the error. The problem is that there is no required field validation on the field milestone.

New Post
 7/2/2009 12:14 PM
 

Same deal here.  Is there any plan to fix it so it doesn't crash when that happens?  I guess I could download the source.

New Post
 7/2/2009 1:41 PM
 

You can mark Milestone as a required field which will prevent it from killing the page if it's not filled in without downloading the source code. Edit /Bugs/AddBug.aspx and go to line 30. Change Required="false" to Required="True" and you should be set. I just did this with my install to fix the issue.

New Post
 7/9/2009 6:42 PM
 
Previous Previous
 
Next Next
ForumForumSupportSupportGeneral SupportGeneral SupportError adding bug after upadte to 0.7.942.0Error adding bug after upadte to 0.7.942.0

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.