Having the same issue on a form with all standard fields. Following error is being logged. Any ideas?
2019-12-16 11:47:52,700 [P33408/D2/T134] ERROR Umbraco.Forms.Web.Editors.RecordController - Unhandled controller exception occurred
System.IO.IOException: The directory is not empty.
at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32FINDDATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Umbraco.Core.IO.PhysicalFileSystem.<>cDisplayClass70._0()
at Umbraco.Core.IO.PhysicalFileSystem.WithRetry(Action action)
at Umbraco.Core.IO.PhysicalFileSystem.DeleteDirectory(String path, Boolean recursive)
at Umbraco.Core.IO.PhysicalFileSystem.DeleteDirectory(String path)
at Umbraco.Core.IO.ShadowWrapper.DeleteDirectory(String path)
at Umbraco.Forms.Data.Storage.RecordStorage.DeleteRecords(IList1 allRecords, Form form)
at Umbraco.Forms.Data.Storage.RecordStorage.DeleteRecord(Record record, Form form)
at Umbraco.Forms.Core.Services.WorkflowService.ExecuteWorkflows(List1 workflows, RecordEventArgs e)
at Umbraco.Forms.Core.Services.WorkflowService.ExecuteWorkflows(Record record, Form form, FormState state, Boolean editMode)
at Umbraco.Forms.Web.Services.RecordService.Delete(Record record, Form form)
at Umbraco.Forms.Web.Providers.RecordActions.Recordsets.DeleteRecordSet.Execute(List1 records, Form form)
at Umbraco.Forms.Web.Editors.RecordController.PostExecuteRecordSetAction(RecordActionExecution model)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)
Excuted Action: Failed to execute action Delete due to error: [object Object]
We want to delete the "test" entries form a form, but we got this error:
It's a form that includes some standard field but also some custom ones. Some with sensitive data and some include files (images, ppt, pdf)
Any ideas?
Having the same issue on a form with all standard fields. Following error is being logged. Any ideas?
2019-12-16 11:47:52,700 [P33408/D2/T134] ERROR Umbraco.Forms.Web.Editors.RecordController - Unhandled controller exception occurred System.IO.IOException: The directory is not empty.
at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32FINDDATA& data) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at Umbraco.Core.IO.PhysicalFileSystem.<>cDisplayClass70._0() at Umbraco.Core.IO.PhysicalFileSystem.WithRetry(Action action) at Umbraco.Core.IO.PhysicalFileSystem.DeleteDirectory(String path, Boolean recursive) at Umbraco.Core.IO.PhysicalFileSystem.DeleteDirectory(String path) at Umbraco.Core.IO.ShadowWrapper.DeleteDirectory(String path) at Umbraco.Forms.Data.Storage.RecordStorage.DeleteRecords(IList
1 allRecords, Form form) at Umbraco.Forms.Data.Storage.RecordStorage.DeleteRecord(Record record, Form form) at Umbraco.Forms.Core.Services.WorkflowService.ExecuteWorkflows(List
1 workflows, RecordEventArgs e) at Umbraco.Forms.Core.Services.WorkflowService.ExecuteWorkflows(Record record, Form form, FormState state, Boolean editMode) at Umbraco.Forms.Web.Services.RecordService.Delete(Record record, Form form) at Umbraco.Forms.Web.Providers.RecordActions.Recordsets.DeleteRecordSet.Execute(List1 records, Form form) at Umbraco.Forms.Web.Editors.RecordController.PostExecuteRecordSetAction(RecordActionExecution model) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary
2 arguments, CancellationToken cancellationToken)I'm having the same issue. Any updates, Umbraco?
is working on a reply...