bug erasing db
This commit is contained in:
@@ -30,6 +30,29 @@ THINGS HOLDING UP PERPETUAL RELEASE
|
|||||||
|
|
||||||
WIP >>>>>>>>>>>>>
|
WIP >>>>>>>>>>>>>
|
||||||
|
|
||||||
|
|
||||||
|
bugbug: migrate errorduring initial erase : subscription
|
||||||
|
xception has occurred: CLR/Npgsql.PostgresException
|
||||||
|
Exception thrown: 'Npgsql.PostgresException' in System.Private.CoreLib.dll: '23503: update or delete on table "apm" violates foreign key constraint "aworkorder_frompmid_fkey" on table "aworkorder"
|
||||||
|
|
||||||
|
DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.'
|
||||||
|
at Npgsql.Internal.NpgsqlConnector.<<ReadMessage>g__ReadMessageLong|211_0>d.MoveNext()
|
||||||
|
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||||
|
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
|
||||||
|
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
|
||||||
|
at Npgsql.NpgsqlDataReader.<NextResult>d__47.MoveNext()
|
||||||
|
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||||
|
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
|
||||||
|
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
|
||||||
|
at Npgsql.NpgsqlCommand.<ExecuteReader>d__116.MoveNext()
|
||||||
|
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||||
|
at Npgsql.NpgsqlCommand.<ExecuteReader>d__116.MoveNext()
|
||||||
|
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||||
|
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
|
||||||
|
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo: move next release of v7 to downloads and update web page, reword to say it ensures there are no bare line feeds in messages to be on the safe side or something to that effect
|
todo: move next release of v7 to downloads and update web page, reword to say it ensures there are no bare line feeds in messages to be on the safe side or something to that effect
|
||||||
TESTING NEXT UP V8MIGRATE....
|
TESTING NEXT UP V8MIGRATE....
|
||||||
|
|
||||||
@@ -37,7 +60,7 @@ todo: TEST subscription and perpetual license code
|
|||||||
Does a trial request for sbuscription work? YES
|
Does a trial request for sbuscription work? YES
|
||||||
Correct date range? YES
|
Correct date range? YES
|
||||||
Generate data? YES
|
Generate data? YES
|
||||||
v8migrate work?
|
v8migrate work? YES?
|
||||||
Does a trial request for perpetual work? YES
|
Does a trial request for perpetual work? YES
|
||||||
correct date range? YES
|
correct date range? YES
|
||||||
Generate data? YES
|
Generate data? YES
|
||||||
|
|||||||
@@ -380,9 +380,16 @@ namespace AyaNova.Util
|
|||||||
cmd.CommandText = "update aloanunit set unitid=null, workorderitemloanid=null;";
|
cmd.CommandText = "update aloanunit set unitid=null, workorderitemloanid=null;";
|
||||||
await cmd.ExecuteNonQueryAsync();
|
await cmd.ExecuteNonQueryAsync();
|
||||||
|
|
||||||
|
cmd.CommandText = "update aworkorder set fromquoteid=null;";
|
||||||
|
await cmd.ExecuteNonQueryAsync();
|
||||||
|
|
||||||
|
cmd.CommandText = "update aworkorder set frompmid=null;";
|
||||||
|
await cmd.ExecuteNonQueryAsync();
|
||||||
|
|
||||||
cmd.CommandText = "update apurchaseorderitem set workorderitempartrequestid=null;";
|
cmd.CommandText = "update apurchaseorderitem set workorderitempartrequestid=null;";
|
||||||
await cmd.ExecuteNonQueryAsync();
|
await cmd.ExecuteNonQueryAsync();
|
||||||
|
|
||||||
|
|
||||||
cmd.CommandText = "update aworkorderitem set fromcsrid=null;";
|
cmd.CommandText = "update aworkorderitem set fromcsrid=null;";
|
||||||
await cmd.ExecuteNonQueryAsync();
|
await cmd.ExecuteNonQueryAsync();
|
||||||
|
|
||||||
@@ -482,7 +489,7 @@ namespace AyaNova.Util
|
|||||||
await EraseTableAsync("apmitemunit", conn);
|
await EraseTableAsync("apmitemunit", conn);
|
||||||
await EraseTableAsync("apmitemoutsideservice", conn);
|
await EraseTableAsync("apmitemoutsideservice", conn);
|
||||||
await EraseTableAsync("apmitem", conn);
|
await EraseTableAsync("apmitem", conn);
|
||||||
await EraseTableAsync("apm", conn);
|
await EraseTableAsync("apm", conn);//bugbug
|
||||||
//---
|
//---
|
||||||
|
|
||||||
await EraseTableAsync("afileattachment", conn);
|
await EraseTableAsync("afileattachment", conn);
|
||||||
|
|||||||
Reference in New Issue
Block a user