Can't delete a version on the 'Project Administration > Versions' page
I am attempting to delete a version from a project, and the delete function on the 'Project Administration > Versions' page pops up the confirmation, but then doesn't do the delete or respond with an error / information as to why, and doesn't refresh the list.
The version is empty (has not open or closed issues).
Should this function work, or am I possibly missing some aspect that will be stopping the delete?
I am using version 3.5.3 (build 2390).
|
mark.walker
· 1 |
|
| Friday, August 21, 2009, 2:02:05 AM | |
0
|
Do you see any error (exception) in the System Log? (Administration-> System Log) |
||||
|
|||||
0
|
Yes, there is a series of errors (see below). It looks like it is due to the project having a version attribute configured. I tried clearing it's value for this version in the hope that that would delete the version attribute record, but the error was the same. I assume that the delete should be:
could not delete: [CounterSoft.Gemini.Commons.VersionEN#201][SQL: DELETE FROM geminiversions WHERE versionid = ?] 24/08/2009 10:44:47 at CounterSoft.Gemini.DataProvider.x4fca630f50c44cdb.x362923a3eda00c5c(Int32 xa0800228d415ca96) at CounterSoft.Gemini.Business.x7d48fd170c4d1b4b.x362923a3eda00c5c(Int32 xa0800228d415ca96) at CounterSoft.Gemini.Web.Project.Admin.ProjectVersions.RepeaterCommand(Object sender, CommandEventArgs e) CounterSoft.Gemini.DataProvider The DELETE statement conflicted with the REFERENCE constraint "geminiprojectversionattributesvaluesversionidfk". The conflict occurred in database "gemini", table "dbo.geminiprojectversionattributevalues", column 'versionid'. The statement has been terminated. 24/08/2009 10:44:47 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNon .Net SqlClient Data Provider The DELETE statement conflicted with the REFERENCE constraint "geminiprojectversionattributesvaluesversionidfk". The conflict occurred in database "gemini", table "dbo.geminiprojectversionattributevalues", column 'versionid'. The statement has been terminated. 24/08/2009 10:44:47 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNon .Net SqlClient Data Provider The DELETE statement conflicted with the REFERENCE constraint "geminiprojectversionattributesvaluesversionidfk". The conflict occurred in database "gemini", table "dbo.geminiprojectversionattributevalues", column 'versionid'. The statement has been terminated. 24/08/2009 10:44:47 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNon .Net SqlClient Data Provider The DELETE statement conflicted with the REFERENCE constraint "geminiprojectversionattributesvaluesversionidfk". The conflict occurred in database "gemini", table "dbo.geminiprojectversionattributevalues", column 'versionid'. The statement has been terminated. 24/08/2009 10:44:47 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNon .Net SqlClient Data Provider The DELETE statement conflicted with the REFERENCE constraint "geminiprojectversionattributesvaluesversionidfk". The conflict occurred in database "gemini", table "dbo.geminiprojectversionattributevalues", column 'versionid'. The statement has been terminated. 24/08/2009 10:44:47 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNon .Net SqlClient Data Provider The DELETE statement conflicted with the REFERENCE constraint "geminiprojectversionattributesvaluesversionidfk". The conflict occurred in database "gemini", table "dbo.gemini_projectversionattributevalues", column 'versionid'. The statement has been terminated. 24/08/2009 10:44:47 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNon .Net SqlClient Data |
||||
|
|||||
0
|
This is fixed in 3.5.4, which is due out this week. http://gemini.countersoft.com/Default.aspx?p=2&i=3047 |
||||
|
|||||




