This commit is contained in:
2021-12-21 00:56:38 +00:00
parent 841ea33aed
commit e6b65dc9aa

View File

@@ -452,38 +452,6 @@ todo: 3 Schedule form reporting?
|_____/|______|_| \_\ \/ |______|_| \_\
bugbug: 2021-12-20 16:22:07.9634|ERROR|BizObjectNameFetcherDirect|### Error fetching for type TaskGroup
2021-12-20 16:22:08.1078|ERROR|SERVER|Error=>Npgsql.PostgresException (0x80004005): 42P01: relation "aTaskGroup" does not exist
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|213_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
at Npgsql.NpgsqlDataReader.NextResult()
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteReader()
at AyaNova.Biz.BizObjectNameFetcherDirect.Name(AyaType ayaType, Int64 id, Int64 translationid, DbCommand cmd) in C:\data\code\raven\server\AyaNova\biz\BizObjectNameFetcherDirect.cs:line 17
at AyaNova.Biz.EventLogProcessor.<>c__DisplayClass4_1.<GetLogForUserAsync>b__3(Event z) in C:\data\code\raven\server\AyaNova\biz\EventLogProcessor.cs:line 110
at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
at AyaNova.Biz.EventLogProcessor.GetLogForUserAsync(UserEventLogOptions opt, Int64 translationId, AyContext ct) in C:\data\code\raven\server\AyaNova\biz\EventLogProcessor.cs:line 110
at AyaNova.Api.Controllers.EventLogController.GetUserLog(UserEventLogOptions opt) in C:\data\code\raven\server\AyaNova\Controllers\EventLogController.cs:line 97
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|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Exception data:
Severity: ERROR
SqlState: 42P01
MessageText: relation "aTaskGroup" does not exist
InternalPosition: 18
InternalQuery: SELECT name FROM "aTaskGroup" WHERE id = '1'
Where: PL/pgSQL function aygetname(bigint,integer,integer) line 101 at EXECUTE
File: parse_relation.c
Line: 1384
Routine: parserOpenTable
todo: 1 VERY IMPORTANT test on windows where all paths have spaces, i.e. set the server data path to a location with funky folder names with spaces etc
confirm everything in raven that writes to disk still works, logging, backup, attachments, temp files served (reports) etc