U4-3583 - 404 with custom trees in v7

Created by David Brendel 19 Nov 2013, 10:04:09 Updated by David Brendel 20 Nov 2013, 08:15:13

When trying to use a multi level tree in Umbraco v7 Umbraco gives an error (404) when it tries to call the GetNodes function to load the subnodes of a node.

Gist of the tree implementation can be found here: http://bit.ly/1fRaDMo

1 Attachments

Comments

Shannon Deminick 20 Nov 2013, 07:34:34

Your class isn't public.

Some method signatures have changed now, CreateTreeNode always requires that you pass in the parent id of the node you're creating. Here's a fully working example of your tree

I've commented on the gist with a full working example.


David Brendel 20 Nov 2013, 08:15:13

Ah the good old public statement. #h5is But wondering why the tree is running for the first nodes if the class is not public?

Thanks for the update on the gist! #h5yr


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.0

Sprint:

Story Points:

Cycle: