diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 1f619aaf..3109a51d 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -64,6 +64,10 @@ http://localhost:8080/login CURRENT WORK: - Get edit form existing features completely working (also need new reportchooser not based on the original dialog component) + - new record entry is a bit fucked up: + - Getting validation errors that don't make sense + - DateTime isn't defaulting + - Not sure how many of these are original errors and not new - Back to other items listed here after edit form working again ================================================= @@ -129,6 +133,19 @@ DONE: WIDGET Customize menu item //DONE: Move all of my libs and code into the Window object under window.$gz(.local, .api etc) + +TODO: Time picker showing military time when select PM at top +TODO: Widget edit form, new record gives following error because custom field not set that is required: + - {"error":{"code":"2200","details":[{"target":"WidgetCustom2","error":"2204"}],"message":"Object did not pass validation"}} + - Why is this not displaying right in the UI error box? It just says "Validation error Object did not pass validation" and nothing else!? + + +TODO: Widget edit form, new record sb dates pre-filled in? Server involved? How to handle new record initial date set? + - Don't start blank basically + - some objects may be configurable what the default date/time range is so maybe enable that for widget to test + +TODO: Bug? Set widget edit form times to 4:20pm and observe that in the main grid list it shows as 320 pm!? + TODO: BUG? If I open a widget record, make no changes just click on another navigation item like operations console, instead of navigating I get an error about object did not pass validation and it stays on that page - It's trying to open this url: https://test.helloayanova.com/inventory/widget/edit/ops for some reason tagging ops on to the current route, not replacing the route entirely diff --git a/ayanova/src/api/errorhandler.js b/ayanova/src/api/errorhandler.js index 74988d9e..41e6814a 100644 --- a/ayanova/src/api/errorhandler.js +++ b/ayanova/src/api/errorhandler.js @@ -16,12 +16,13 @@ function dealWithError(msg, vm) { } window.$gz.store.commit("logItem", msg); if (devModeShowErrors) { - //debugger; var errMsg = "DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" + msg; + // eslint-disable-next-line no-console + console.log(errMsg); - window.$gz.eventBus.$emit("notify-error", errMsg); + window.$gz.eventBus.$emit("notify-error", "Dev error see log / console"); } //If a form instance was provided (vue instance)