This commit is contained in:
@@ -159,6 +159,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
private Dictionary<Guid, long> Map = new Dictionary<Guid, long>();
|
private Dictionary<Guid, long> Map = new Dictionary<Guid, long>();
|
||||||
private Dictionary<Guid, string> TagMap = new Dictionary<Guid, string>();
|
private Dictionary<Guid, string> TagMap = new Dictionary<Guid, string>();
|
||||||
private Dictionary<string, string> CustomFieldLocaleKeys = new Dictionary<string, string>();//holds custom field Raven as key and v7 custom text for that field for later export
|
private Dictionary<string, string> CustomFieldLocaleKeys = new Dictionary<string, string>();//holds custom field Raven as key and v7 custom text for that field for later export
|
||||||
|
|
||||||
private string ImportTag = "v7-import";
|
private string ImportTag = "v7-import";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -190,7 +191,8 @@ namespace AyaNova.PlugIn.V8
|
|||||||
TODO:
|
TODO:
|
||||||
*
|
*
|
||||||
* locales
|
* 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: 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
|
* TODO: User, fixup translationID, headofficeid, clientid vendorid, phone1, phone2, pagermaxtext
|
||||||
@@ -543,40 +545,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
progress.SubOp("");
|
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.<PutAsync>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.<ExportLocales>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.<DoExport>d__0.MoveNext() in c:\data\ayanova\source\Plugins\AyaNova.Plugin.V8\V8.cs:line 245
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#region locale utility
|
#region locale utility
|
||||||
public class TranslationItem
|
public class TranslationItem
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user