From 53b853bf9199b243b1780a2bdc66689cf9005c8e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 30 Apr 2020 22:30:47 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 37 +++----------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 0fa1d35..4858e57 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -159,6 +159,7 @@ namespace AyaNova.PlugIn.V8 private Dictionary Map = new Dictionary(); private Dictionary TagMap = new Dictionary(); private Dictionary CustomFieldLocaleKeys = new Dictionary();//holds custom field Raven as key and v7 custom text for that field for later export + private string ImportTag = "v7-import"; /// @@ -190,7 +191,8 @@ namespace AyaNova.PlugIn.V8 TODO: * * locales - * + * todo locales for custom fields fixup - needs objects keys at destination first. + * todo: once have moved beyond what's in the v8 import stuff then need to remove all that, though maybe comment out some bits as some may be useful for import / export?? * * TODO: User, fixup translationID, headofficeid, clientid vendorid, phone1, phone2, pagermaxtext @@ -543,40 +545,7 @@ namespace AyaNova.PlugIn.V8 progress.SubOp(""); } - /* - -Exporting customized Locales -ERROR, During operation: Exporting Custom English to Custom English (en) -Posting key: WorkorderItem.Label.OutsideService - -************ -Export failed with error: -PUT error, route: Translation/UpdateTranslationItemDisplayText -{"error":{"code":"2005","message":"Object was changed by another user since retrieval (concurrency token mismatch)"}} -Conflict -stack: - at AyaNova.PlugIn.V8.util.d__26.MoveNext() in c:\data\ayanova\source\Plugins\AyaNova.Plugin.V8\util.cs:line 185 ---- End of stack trace from previous location where exception was thrown --- - at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() - at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) - at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() - at AyaNova.PlugIn.V8.V8.d__5c.MoveNext() in c:\data\ayanova\source\Plugins\AyaNova.Plugin.V8\V8.cs:line 527 ---- End of stack trace from previous location where exception was thrown --- - at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() - at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) - at System.Runtime.CompilerServices.TaskAwaiter.GetResult() - at AyaNova.PlugIn.V8.V8.d__0.MoveNext() in c:\data\ayanova\source\Plugins\AyaNova.Plugin.V8\V8.cs:line 245 - - - - - - */ - - - - #region locale utility public class TranslationItem {