"xxx" category .subtaxa happen error when try to a

Posted by nguyenthanh209415 on 11-Dec-2019 07:40


This is error : "eServices.Subtaxa = 'eServices.Subtaxa' threw an exception of type 'Telerik.OpenAccess.Exceptions.NoSuchObjectException'"
I have a category in Categories in front end. Categories => eservice => child1, child2, chil3...
I try to delete a child of eservice. And after that i get eservice by this code:

var manager = TaxonomyManager.GetManager();

var categories = manager.GetTaxonomy<HierarchicalTaxonomy>(TaxonomyManager.CategoriesTaxonomyId);

var eServices = manager.GetTaxa<HierarchicalTaxon>().Where(dT => dT.Taxonomy == categories && dT.Title == "eServices").FirstOrDefault();

i try many time but eServices.Subtaxa  alway throw above error.
I can not get all child of eServices because i can not go inside it...
This is a bug of sitefinity or a normal bug?
And how can i fix it?

 

All Replies

This thread is closed