From 7360ae9356d24433549dc4b0705f4a2a6d986fcc Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 20 Sep 2021 18:22:15 +0000 Subject: [PATCH] --- ayanova/src/views/home-schedule.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ayanova/src/views/home-schedule.vue b/ayanova/src/views/home-schedule.vue index 5582b02e..028e6bfc 100644 --- a/ayanova/src/views/home-schedule.vue +++ b/ayanova/src/views/home-schedule.vue @@ -334,6 +334,16 @@ TODO NEXT: Needs a refresh button at top + + bugproof hexcolor function at server in case it gets bogus data, then just return neutral gray and log error + 2021-09-20 11:02:43.8205|ERROR|Microsoft.EntityFrameworkCore.Query|An exception occurred while iterating over the results of a query for context type 'AyaNova.Models.AyContext'. +System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length') + at System.String.Substring(Int32 startIndex, Int32 length) + at AyaNova.Api.Controllers.ScheduleController.TextColor(String hexcolor) in C:\data\code\raven\server\AyaNova\Controllers\ScheduleController.cs:line 218 + at AyaNova.Api.Controllers.ScheduleController.MakeReviewSchedItem(Review v, PersonalScheduleParams p) in C:\data\code\raven\server\AyaNova\Controllers\ScheduleController.cs:line 187 + at lambda_method10879(Closure , QueryContext , DbDataReader , ResultContext , SingleQueryResultCoordinator ) + at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() + TESTING: drag/extend in all views working?