diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 10208a59..91e2acc3 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -160,6 +160,21 @@ todo: Can't hide custom fields on widget form? (no code to check if it's hidden? some kind of funkiness when I was trying to make a widget on an empty db, couldn't save but was dirty. - related to wiki changes or attachments or something? +Opening the widgets list on a new empty db I got this error at server: + 2020-05-02 13:20:40.4589|ERROR|Server|Error=>System.ArgumentNullException: Value cannot be null. (Parameter 'AyaDataList:GetCustomFieldDefinitionsForList, Custom field object type Widget has no FormCustom defined') + at AyaNova.DataList.AyaDataList.GetCustomFieldDefinitionsForList() in C:\data\code\raven\server\AyaNova\DataList\AyaDataList.cs:line 150 + at AyaNova.DataList.AyaDataList.GenerateListColumnsJSONFromListView(JArray listViewArray) in C:\data\code\raven\server\AyaNova\DataList\AyaDataList.cs:line 49 + at AyaNova.DataList.DataListFetcher.GetResponseAsync(String DataListKey, AyContext ct, ListOptions listOptions, Int64 UserId, AuthorizationRoles UserRoles) in C:\data\code\raven\server\AyaNova\DataList\DataListFetcher.cs:line 182 + at AyaNova.Api.Controllers.DataListController.List(ListOptions listOptions) in C:\data\code\raven\server\AyaNova\Controllers\DataListController.cs:line 76 + at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Logged|12_1(ControllerActionInvoker invoker) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + + todo: THIS! At this point, upload to dev server and thoroughly test with devices, it seems a bit slow at times