This commit is contained in:
2021-05-28 18:09:12 +00:00
parent cb11763422
commit 727cc1bc0f
3 changed files with 1 additions and 32 deletions

View File

@@ -364,37 +364,7 @@ Very slow to load a workorder off devops, tied to the amount of data on it, less
Keeps refetching nonexistant key "WorkOrderItemTravelPrice"
If look at network traffic can easily see non-existant keys because second opening should not have to fetch anything, sb pre-cached
=-=-=-
Error attempting to generate sample data on devops:
2021-05-27 22:16:14.0936|INFO|AyaNova.Api.Controllers.LicenseController|Erasing Database "AyaNova"
2021-05-27 22:16:16.0189|ERROR|SERVER|Error=>Npgsql.PostgresException (0x80004005): 23503: update or delete on table "ataxcode" violates foreign key constraint "aglobalbizsettings_taxratesaleid_fkey" on table "aglobalbizsettings"
at Npgsql.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|194_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
at AyaNova.Util.DbUtil.EraseTableAsync(String sTable, NpgsqlConnection conn, Boolean tableHasNoSequence) in C:\data\code\raven\server\AyaNova\util\DbUtil.cs:line 480
at AyaNova.Util.DbUtil.EmptyBizDataFromDatabaseForSeedingOrImportingAsync(ILogger _log) in C:\data\code\raven\server\AyaNova\util\DbUtil.cs:line 456
at AyaNova.Api.Controllers.LicenseController.RemoveAllData(String acceptCode) in C:\data\code\raven\server\AyaNova\Controllers\LicenseController.cs:line 268
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Exception data:
Severity: ERROR
SqlState: 23503
MessageText: update or delete on table "ataxcode" violates foreign key constraint "aglobalbizsettings_taxratesaleid_fkey" on table "aglobalbizsettings"
Detail: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
SchemaName: public
TableName: aglobalbizsettings
ConstraintName: aglobalbizsettings_taxratesaleid_fkey
File: ri_triggers.c
Line: 2478
Routine: ri_ReportViolation
2021-05-27 22:26:43.4119|INFO|BOOT|AYANOVA
=-=-=-=-=-
ERROR attempting to delete a workorder item that was generated and has a lot of data:

View File

@@ -1,4 +1,4 @@
export default {
version: "8.0.0-alpha.108",
version: "8.0.0-alpha.109",
copyright: "© 1999-2021, Ground Zero Tech-Works Inc."
};

View File

@@ -1881,7 +1881,6 @@ async function fetchTranslatedText(vm) {
"WorkOrderItemTravelUserID",
"WorkOrderItemTravelNoChargeQuantity",
"WorkOrderItemTravelTaxRateSaleID",
"WorkOrderItemTravelPrice",
"WorkOrderItemTaskTaskID",
"WorkOrderItemTaskWorkOrderItemTaskCompletionType",
"WorkOrderItemTaskUser",