From ae03b97c2ef7ee809cc088f28b43c8b46d3ad726 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 8 Oct 2020 23:30:43 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 ---- ayanova/src/views/widget.vue | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 9c026f69..223b345f 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -3,10 +3,6 @@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -todo: is notifynewcount request double sending? It seems like it appears twice at the same moment in the log -todo: widget usertype not set on new record error says "invalid value [2203]" shouldn't it say it's required instead? - - todo: user form create user but just type name, try to save, get mysterious object did not pass validation but it doesn't show the actual error which is customertype not set?! todo: Joyce issue report: diff --git a/ayanova/src/views/widget.vue b/ayanova/src/views/widget.vue index a755f80f..187737c3 100644 --- a/ayanova/src/views/widget.vue +++ b/ayanova/src/views/widget.vue @@ -330,13 +330,14 @@ export default { obj: { //IMPORTANT NOTE: Fields that are NON NULLABLE in the schema for the table but *are* hideable **MUST** have a default value set here or else there will be no way to save the record //I.E. Serial, usertype fields + //Also, if it's a non-nullable Enum backed field then it should have a valid selection i.e. not zero if there is no zero id: 0, concurrency: 0, name: null, serial: 0, dollarAmount: null, active: null, - userType: 0, + userType: 2, //defaulted here to something valid startDate: null, endDate: null, notes: null,