I have recently upgraded my Umbraco installation from version 6.0.5 to 6.2.5. Everyhting in new upgrade works fine except the custom sections. The custom sections are visible under sections area but on clicking them, the tree does not appear.
Below is the code snippet I've used to add custom sections in trees.config file:
The code for creating trees in custom sections is written in cs files inside app code folder.
If anyone has any idea how I can fix this then please help.
2018-11-26 23:10:19,549 [5] WARN
umbraco.BusinessLogic.ApplicationTree - [Thread 7] The tree
definition: could not be resolved to a .Net
object type 2018-11-26 23:10:19,564 [5] WARN
umbraco.BusinessLogic.ApplicationTree - [Thread 7] The tree
definition: could not be resolved to a .Net object type 2018-11-26
23:10:19,564 [5] WARN umbraco.BusinessLogic.ApplicationTree - [Thread
7] The tree definition: could not be resolved to a .Net object type
Custom Section not loading after upgrade
I have recently upgraded my Umbraco installation from version 6.0.5 to 6.2.5. Everyhting in new upgrade works fine except the custom sections. The custom sections are visible under sections area but on clicking them, the tree does not appear.
Below is the code snippet I've used to add custom sections in trees.config file:
The code for creating trees in custom sections is written in cs files inside app code folder. If anyone has any idea how I can fix this then please help.
Hi smriti
Have you got two with the same alias?
configFiles
first and last entry, I think for it to work the alias for all the specified trees need to be unique, try manually removing one...
regards
Marc
I've removed first entry as it was no longer required but still it did not solve the problem.
Are you sure that the icon names are right?
Yes, the icon names are correct. The same code was working fine in version 6.0.5 but after upgrade to 6.2.5 I'm facing this problem.
I'm getting below error in log files:
Found the solution. Added [Tree("SectionName", "SectionName", "TreeTitle")] before class definition in my .cs file in app_code.
is working on a reply...