Orchard 1.8.1: Cannot move images from folders to folders in Media Library.

Topics: Core
Nov 28, 2014 at 12:16 AM
When I do drag and drop for images I get following error:

2014-11-27 19:02:42,702 [43] Orchard.Exceptions.DefaultExceptionPolicy - Default - An unexpected exception was caught
http://localhost:49887/Orchard.MediaLibrary/Folder/Move
System.ArgumentNullException: Value cannot be null.
Parameter name: path1

at System.IO.Path.Combine(String path1, String path2)
at Orchard.FileSystems.Media.FileSystemStorageProvider.Combine(String path1, String path2) in z:\Builds\work\d1eb156ccc3cb14\src\Orchard\FileSystems\Media\FileSystemStorageProvider.cs:line 340
at Orchard.MediaLibrary.Services.MediaLibraryService.GetUniqueFilename(String folderPath, String filename)
at Orchard.MediaLibrary.Controllers.FolderController.Move(String folderPath, Int32[] mediaItemIds)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase
1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()