BugNET

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

BugNET Forums

 
  Forum  Development  General develop...  Custom Dropdown Error
Previous Previous
 
Next Next
New Post 9/11/2006 3:32 PM
User is offline kientran
3 posts
No Ranking


Custom Dropdown Error 
I am unable to create an issue in the bug tracker, but here is the information.  I am running SQL Server 2005 Express

When I attempt to add options for the dropdown list, I get a server error:

Cannot insert the value NULL into column 'CustomFieldSelectionSortOrder', table 'BugNET-Test.dbo.ProjectCustomFieldSelection'; column does not allow nulls. INSERT fails.
The statement has been terminated.
The 'BugNet_CustomFieldSelection_CreateNewCustomFieldSelection' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

Exception Details: System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'CustomFieldSelectionSortOrder', table 'BugNET-Test.dbo.ProjectCustomFieldSelection'; column does not allow nulls. INSERT fails.
The statement has been terminated.
The 'BugNet_CustomFieldSelection_CreateNewCustomFieldSelection' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

Line 509: try
Line 510: { Line 511: DataHelper.ExecuteScalar(conn, CommandType.StoredProcedure, SP_CUSTOMFIELDSELECTION_CREATE, commandParameters);
Line 512: return ((int)commandParameters[0].Value);
Line 513: }


Source File: C:\Documents and Settings\ktran\Desktop\Issue Tracking Demos\BugNET_0.7\trunk\BugNET\src\BugNET_WAP\Old_App_Code\DAL\GenericDataAccessLayer.cs    Line: 511
 
New Post 9/11/2006 8:22 PM
User is offline admin
658 posts
bugnetproject.com
1st Level Poster




Re: Custom Dropdown Error 
Thank you for the bug report.  I have added it to the issue tracker and will fix it very soon.

Davin Dubeau
BugNET - Core Developer

 
Previous Previous
 
Next Next
  Forum  Development  General develop...  Custom Dropdown Error

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.