Error when creating a TroubleTicket:
[1025012] Object (0 - 5/11/2020 4:09:11 PM) could not be saved!
[810306] Error during execution of 'OnSaving' in logic module 'TroubleTicket'.
at VI.DB.Entities.EntitySingleDbObject.<>c__DisplayClass36_0.<<Save>b__0>d.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.EventUnitOfWork.<PutAsync>d__2.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.PermissionsUnitOfWork.<PutAsync>d__11.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.EventUnitOfWork.<PutAsync>d__2.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.UnitOfWorkImpl.<PutAsync>d__37.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.DbEntitySink.<PutAsync>d__14.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.InteractiveSaveEntityStrategy.<OnSavingAsync>d__3.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.CombinedEntityLogic.<_CollectChangesAsync>d__30`2.MoveNext()
[810222] Error executing script 'VI_AE_GetAttachmentPath'.
at VI.DB.Entities.CombinedEntityLogic.<_CollectChangesAsync>d__30`2.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Customizer.<VI-DB-Entities-IEntityLogic-OnSavingAsync>d__71.MoveNext()
at VI.DB.Customizer._CollectEvents(IEntity entity, Action action)
at HDS.Customizer.TroubleTicket.OnSaving()
at HDS.Customizer.TroubleTicket.GetAttachmentPath()
at VI.DB.Scripting.ScriptRunner.Eval(String key, Object[] parameters)
Object reference not set to an instance of an object.
at DynScripts.ProductScripts_GyoLNE5CrQlwFmwelDU2jmiiGY.VI_AE_GetAttachmentPath()
This is a product defect (33067).
WORKAROUND
1. Copy script "VI_AE_GetAttachmentPath" and make a customer specific "CCC_AE_GetAttachmentPath" from it.
2. In the script code modify the line:
Dim CallNumber As String = Base.GetValue("CallNumber").Int.ToString("00000000")
... to:
Dim CallNumber As String = GetValue("CallNumber").Int.ToString("00000000")
3. Change ConfigParm "Helpdesk\Attachment\DialogScript" to the customer script.
4. When you apply the hotfix, reverse these settings.
STATUS
This will be fixed in a future release of the product. If you require this immediately corrected, please contact Support for a hotfix referencing the defect ID 33067.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center