OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

import from blogengine fails #7029

Open atiq-cs opened 8 years ago

atiq-cs commented 8 years ago

I have installed and enable BlogML, External Import Export and Import Export modules. When I am trying to import from blogml file it is giving me.

Oops. Something went wrong ... sorry

An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object. at Orchard.ImportExport.Providers.ImportActions.ExecuteRecipeAction.PrepareRecipe(XDocument recipeDocument) at Orchard.ImportExport.Providers.ImportActions.ExecuteRecipeAction.Execute(ImportActionContext context) at Orchard.ImportExport.Services.ImportExportService.Import(ImportActionContext context, IEnumerable`1 actions) at Orchard.ImportExport.Controllers.AdminController.ImportPOST() at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 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.WrappedAsyncResult`2.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__3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()

I have tried numerous time and hitting the same error. I am thinking if things are so buggy why am I even considering to move to orchard.

sfmskywalker commented 8 years ago

BlogML is a different format than the Recipe format, which is what is expected by Import/Export. However, we should improve the Import code to handle unsupported formats gracefully.

atiq-cs commented 8 years ago

Since I installed those modules those formats should be detected. Right?

Or can you point me toward right direction for importing from blogML format ?

sfmskywalker commented 8 years ago

I'm afraid the Import feature only supports recipes. I believe there is a separate module on the gallery that supports importing BlogML. Try googling Orchard + BlogML.