U4-2945 - Custom application tree nodes disappearing

Created by Mark Wiseman 26 Sep 2013, 01:35:50 Updated by Shannon Deminick 21 Jun 2017, 07:58:15

If you define a custom application and tree nodes in the App_Code folder, when you change the tree nodes class and refresh umbraco the nodes disappear.

I think this is because trees.config "type" is not being re-created correctly.

'''Steps to reproduce'''

Create new tree class with 2 tree nodes in App_Code inheriting BaseTree decorated with the Tree attribute

Refresh Umbraco admin

Tree items are displayed and tree.config is updated with a new entry and unique type: i.e. App_Code.asdfKsdf

Edit tree class and remove 1 tree node

Refresh Umbraco admin

All Tree items are missing

'''Steps to fix'''

Open tree.config

Delete entry with matching alias

Refresh Umbraco admin

Tree items are displayed and item is re-added to tree.config with a new type: i.e. App_Code.800KXId

Comments

Shannon Deminick 21 Jun 2017, 07:58:15

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.1.5

Due in version:

Sprint:

Story Points:

Cycle: