From 749dbdff660608bd61eeec2b94938083c6d5d9a2 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 21 Mar 2023 23:23:54 +0000 Subject: [PATCH] case 4492 --- devdocs/todo.txt | 212 ------------------------ dist/install/windows/x64/lan.iss | 2 +- dist/install/windows/x64/standalone.iss | 2 +- docs/8.0/ayanova/docs/changelog.md | 6 + docs/8.0/ayanova/mkdocs.yml | 2 +- server/AyaNova/AyaNova.csproj | 4 +- server/AyaNova/biz/WorkOrderBiz.cs | 10 ++ server/AyaNova/util/AyaNovaVersion.cs | 2 +- 8 files changed, 22 insertions(+), 218 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 331c2aec..d8fa2c5d 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -6,215 +6,3 @@ LAST DOCUMENTATION LEFT OFF AT HeadOffices seems to be done whatever is next below -AyaNova App -Version: 8.0.39 -User: Orpha Murray - BizAdmin -12h: true -Effective time zone: America/Vancouver -Effective language code: en-CA -Use browser's standard date time input controls: false -Currency code (ISO 4217): USD -Dark mode: false -Browser -platform: Win32 -userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0 -languages: [ "en-CA", "en-US", "en" ] -tz: America/Vancouver -oscpu: Windows NT 10.0; Win64; x64 -maxTouchPoints: 0 -webdriver: false -vendor: -availWidth: 1707 -availHeight: 928 -width: 1707 -height: 960 -devicePixelRatio: 1.5 -pixelDepth: 24 -Server -Server address: http://localhost:7575/api/v8.0/ -Version: AyaNova server 8.0.39 Perpetual -Schema version: 15 -Server time: 2023-03-17 9:28 AM -Server time zone: Pacific Standard Time -License -Licensed to: GZTestCo -Database ID: Fd6EQgNu4kpx7lcE26BeLPYfPuNiaGHZk6kaDct0J9Q= -License serial number: 1679007078 -License type: Perpetual -License expiration date: 3/30/23, 3:51 p.m. -Maintenance plan expiration date: 3/30/23, 3:51 p.m. -Licensed options -ActiveInternalUsers: 5000 -TrialMode -CLIENT LOG -2023-03-06 12:43:58|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 13:14:04|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 13:14:04|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 13:44:11|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 13:44:11|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 14:14:17|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 14:14:17|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 14:33:30|API error: GET route =notify/hello, message =NetworkError when attempting to fetch resource. -2023-03-06 14:33:30|notify-error: Could not connect to AyaNova server http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 15:46:22|App::Mounted - preset path presented: /ops-backup -2023-03-06 15:49:30|API error: status=503, statusText=Service Unavailable, url=http://localhost:7575/api/v8.0/notify/new-count -2023-03-06 15:52:34|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 15:52:34|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 15:54:11|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 15:54:11|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 15:56:32|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 15:56:32|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:00:01|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 16:00:01|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:05:11|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 16:05:11|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:05|App::Mounted - preset path presented: /ops-backup -2023-03-06 16:08:06|API error: GET route =global-ops-backup-setting, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:06|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:06|Error - Name:Error, Message:Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:06|API error: GET route =backup/status, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:06|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:08|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:08|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:09|App::Mounted - preset path presented: /ops-backup -2023-03-06 16:08:09|API error: GET route =global-ops-backup-setting, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:09|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:09|Error - Name:Error, Message:Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:09|API error: GET route =backup/status, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:09|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:10|App::Mounted - preset path presented: /ops-backup -2023-03-06 16:08:10|API error: GET route =global-ops-backup-setting, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:10|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:10|Error - Name:Error, Message:Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:10|API error: GET route =backup/status, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:10|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:13|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:13|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:08:31|API error: GET route =notify/hello, message =NetworkError when attempting to fetch resource. -2023-03-06 16:08:31|notify-error: Could not connect to AyaNova server http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-06 16:16:10|API error: status=503, statusText=Service Unavailable, url=http://localhost:7575/api/v8.0/notify/new-count -2023-03-06 16:16:11|API error: status=503, statusText=Service Unavailable, url=http://localhost:7575/api/v8.0/notify/new-count -2023-03-06 16:16:12|API error: status=503, statusText=Service Unavailable, url=http://localhost:7575/api/v8.0/notify/new-count -2023-03-06 16:16:45|API error: status=503, statusText=Service Unavailable, url=http://localhost:7575/api/v8.0/notify/new-count -2023-03-08 13:20:06|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:20:06|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 13:21:43|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:21:43|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 13:54:07|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:54:07|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 13:54:13|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:54:13|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 13:55:43|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:55:43|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 13:55:50|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:55:50|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 13:58:04|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:58:04|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 13:58:12|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 13:58:12|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 14:01:33|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 14:01:33|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-08 14:01:41|API error: GET route =notify/new-count, message =NetworkError when attempting to fetch resource. -2023-03-08 14:01:41|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-16 09:25:38|App::Mounted - preset path presented: /svc-quotes/5 -2023-03-16 15:50:01|App::Mounted - preset path presented: /svc-workorders -2023-03-16 15:50:01|API error: GET route =data-list-filter/list?ListKey=WorkOrderDataList, message =NetworkError when attempting to fetch resource. -2023-03-16 15:50:01|notify-error: Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -2023-03-16 15:50:01|Vue error: -Error - Name:Error, Message:Server not responding (E17)http://localhost:7575/api/v8.0/ -Error: NetworkError when attempting to fetch resource. -filename: http://localhost:8080/js/app.js -lineNumber: 21563 -info: created hook (Promise/async) -STACK: - handleError@http://localhost:8080/js/app.js:21563:13 -_callee2$@http://localhost:8080/js/app.js:21930:26 -tryCatch@http://localhost:8080/js/chunk-vendors.js:67288:40 -invoke@http://localhost:8080/js/chunk-vendors.js:67519:30 -./node_modules/regenerator-runtime/runtime.js/defineIteratorMethods/ true - 8.0.39 - 8.0.39.0 + 8.0.40 + 8.0.40.0 ayanova.ico bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml 1591 diff --git a/server/AyaNova/biz/WorkOrderBiz.cs b/server/AyaNova/biz/WorkOrderBiz.cs index e683d3bf..f165b600 100644 --- a/server/AyaNova/biz/WorkOrderBiz.cs +++ b/server/AyaNova/biz/WorkOrderBiz.cs @@ -5009,6 +5009,16 @@ namespace AyaNova.Biz //run validation and biz rules bool isNew = currentObj == null; + + ////////////////////TEST to try to simulate case 4485 issues + // if (isNew) + // { + // //simulate an error see if it displays properly at UI end + // AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Quantity", await Translate("InventoryRoleRequired")); + // return; + // } + /////////////////////////////// + if (UserIsRestrictedType) { //Parts: no edits allowed diff --git a/server/AyaNova/util/AyaNovaVersion.cs b/server/AyaNova/util/AyaNovaVersion.cs index d8881655..3bff088f 100644 --- a/server/AyaNova/util/AyaNovaVersion.cs +++ b/server/AyaNova/util/AyaNovaVersion.cs @@ -5,7 +5,7 @@ namespace AyaNova.Util /// internal static class AyaNovaVersion { - public const string VersionString = "8.0.39"; + public const string VersionString = "8.0.40"; public const string FullNameAndVersion = "AyaNova server " + VersionString; public const string CurrentApiVersion="v8"; }//eoc