From 1fe84b30884c3483b2d8a50bdd3c2601e435c248 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 11 Jun 2021 18:56:09 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 21 +++++++++++++++++++ .../src/components/work-order-item-units.vue | 3 +++ 2 files changed, 24 insertions(+) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 266b8753..6d39837f 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -61,6 +61,9 @@ todo: notifications screen add delete all menu item that will just remove all th todo: notification new bell alert count add to title so shows in task bar when not in view? like messenger "(1)" "(23)" etc +todo: notifications form if left sitting there should auto-refresh when it gets any new notifications? + not 100% sure about this one, maybe it's a nice to have feature but a waste of time otherwise + todo: notifications new count seems to be double getting on each iteration todo: Seeding UI keep track of timing and later down the road when firmed up, provide estimate (average server will take): 2021-05-31 10:26:45.4801|INFO|Seeder|Small level sample data seeded in 27 seconds @@ -383,6 +386,24 @@ todo: many biz objects are not using new PUT methodology CURRENTLY DOING: Work order notifications - PartRequested +bugubg: completely fresh workorder riddled with errors when attempting to create one of each type of record + expense -> tax code is required in sql but not in UI WTF? + travel -> if rate not chosen it still seems to fetch somethign then error out on rateviz populate + 2021-06-11 11:45:46.4561|ERROR|SERVER|Error=>System.NullReferenceException: Object reference not set to an instance of an object. + at AyaNova.Biz.WorkOrderBiz.TravelPopulateVizFields(WorkOrderItemTravel o) in C:\data\code\raven\server\AyaNova\biz\WorkOrderBiz.cs:line 5057 + at AyaNova.Biz.WorkOrderBiz.TravelCreateAsync(WorkOrderItemTravel newObject) in C:\data\code\raven\server\AyaNova\biz\WorkOrderBiz.cs:line 4930 + at AyaNova.Api.Controllers.WorkOrderController.PostWorkOrderItemTravel(WorkOrderItemTravel newObject, ApiVersion apiVersion) in C:\data\code\raven\server\AyaNova\Controllers\WorkOrderController.cs:line 1317 + + tasks -> task field required but doesn't show required in UI + parts -> quantity required but doesn't show that in UI (no rule) + labor -> error at server: + 2021-06-11 11:45:46.3095|ERROR|SERVER|Error=>System.NullReferenceException: Object reference not set to an instance of an object. + at AyaNova.Biz.WorkOrderBiz.LaborPopulateVizFields(WorkOrderItemLabor o) in C:\data\code\raven\server\AyaNova\biz\WorkOrderBiz.cs:line 2318 + at AyaNova.Biz.WorkOrderBiz.LaborCreateAsync(WorkOrderItemLabor newObject) in C:\data\code\raven\server\AyaNova\biz\WorkOrderBiz.cs:line 2191 + at AyaNova.Api.Controllers.WorkOrderController.PostWorkOrderItemLabor(WorkOrderItemLabor newObject, ApiVersion apiVersion) in C:\data\code\raven\server\AyaNova\Controllers\WorkOrderController.cs:line 568 + + Unit -> something about + Steps to test notifications: plain in app delivery diff --git a/ayanova/src/components/work-order-item-units.vue b/ayanova/src/components/work-order-item-units.vue index 96169fa7..91c84e00 100644 --- a/ayanova/src/components/work-order-item-units.vue +++ b/ayanova/src/components/work-order-item-units.vue @@ -330,6 +330,9 @@ export default { this.value.items[this.activeWoItemIndex].units.push({ id: 0, concurrency: 0, + wiki: null, + customFields: "{}", + tags: [], userId: null, estimatedQuantity: 0, startDate: null,