This project is read-only.
2

Resolved

Umbraco 6

description

I can't get Dewd 1.3 to work with Umbraco v6, the tree nodes woun't load.

comments

suneboeegh wrote Feb 18, 2013 at 10:42 AM

Hi Ncedia,

Doesn't surprise me, haven't had time to test it with v6 and know there's been a number of api changes in Umbraco since v4.11. I'll have a look at it and hopefully have a fix soon.
  • Sune

leekelleher wrote Mar 4, 2013 at 5:29 PM

Hi Sune,

Just to confirm this issue - I've just installed it for a new Umb v6 project, unable to load any trees.

The Umbraco error logs (which is text file based now) has this exception:
ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 86] An unhandled exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Eksponent.Dewd.Tree.Render(XmlTree& tree)
   at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
   at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
   at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Let me know if there is anything I can do to help - testing, etc.

Thanks,
  • Lee

leekelleher wrote Mar 4, 2013 at 5:48 PM

Figured it out... Configuration.cs line 105 does a specific version number check (for major == 4 and minor >= 1) which isn't applied to v6.

I've fixed this locally... will supply a patch / pull request later tonight.

Cheers,
  • Lee

suneboeegh wrote Mar 4, 2013 at 8:18 PM

Well spotted, thanks a lot, Lee. I've had the flu, so still catching up on work. If you want, I can add you as a Developer here on CodePlex, so you can commit directly to the repo.

leekelleher wrote Mar 5, 2013 at 8:45 AM

Thanks Sune!

I'm happy either way - pull request or direct commit access - whichever is easiest for you.

Cheers,
  • Lee

leekelleher wrote Mar 5, 2013 at 10:20 AM

Fixed in changeset: 26e0ad4f56b9.

suneboeegh wrote Mar 5, 2013 at 10:21 AM

Awesome, I'll make a new release from that changeset.

suneboeegh wrote Mar 5, 2013 at 11:38 AM