Testing out the task repository on a test server. Added a simple Powershell task with no Params and upon pressing Ok got:
System.Data.ConstraintException: Column 'Id' is constrained to be unique. Value 'db6967fc-1564-4479-bc06-d56b4cbd0a2f' is already present.
at System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)
at System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
at UCTaskRepository.OHBNOHCHMELJKJJGFPCCOECAFMDDIJCCKJKM(Server& , TaskRepositoryObjectClass )
Do you want to restart VisualCron. Press yes and the job works as expected. This was the first task added.
Edited by moderator
2019-06-28T12:48:47Z
|
Reason: Not specified