Developer forum

Forum » Dynamicweb 10 » Error when saving Scheduled task with Digital Asset Checkin

Error when saving Scheduled task with Digital Asset Checkin

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

When I save a scheduled task with the Digital Asset Checkin task, the task is saved, but the log shows an error. The task does not work (it is converted from dw9 and does work there) but I'm not sure if that is related. The error is:

2024-01-03 15:53:33.3259: Error while saving command log for model. Model Type: 'Dynamicweb.Integration.UI.Models.TaskDataModel', Model ID: ''.. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'index')
   at System.Linq.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument)
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index)
   at Dynamicweb.CoreUI.Data.CommandLog.CommandLogModelData.HandleFieldGroupCollection(FieldGroupCollection original, FieldGroupCollection updated, Dictionary`2 changes, String propertyName)
   at Dynamicweb.CoreUI.Data.CommandLog.CommandLogModelData.CalculateChanges()
   at Dynamicweb.CoreUI.Data.CommandLog.CommandLog.SetModelData(Object original, Object updated, Type modelType)
   at Dynamicweb.Management.Api.Controllers.Api.DataController.RegisterCommandLog(Type commandType, String commandBody, Type modelType, Object originalModel, Object updatedModel, CommandResult result)
2024-01-03 15:53:33.3295: Request headers: [
  "Accept",
  "Accept-Encoding",
  "Accept-Language",
  "Authorization",
  "Connection",
  "Content-Length",
  "Content-Type",
  "Cookie",
  "Host",
  "Referer",
  "User-Agent",
  "sec-ch-ua",
  "sec-ch-ua-mobile",
  "sec-ch-ua-platform",
  "sec-gpc",
  "origin",
  "sec-fetch-site",
  "sec-fetch-mode",
  "sec-fetch-dest"
]
2024-01-03 15:53:33.3301: Request item keys: [
  "__AuthorizationMiddlewareWithEndpointInvoked",
  {},
  "DW_Current_ExecutionTable"
]
2024-01-03 15:53:33.3304: Request form: []

Replies

 

You must be logged in to post in the forum