Try our conversational search powered by Generative AI!


When I fetch the tag cloud, I get a bunch of tags and the TagCloudItems indicate that there are a number of items in each tag.
In my tags page which is supposed to list the tagged items for a certain tag, I get no results at all.
This is the code I use
tags.TagCloud = TagHandler.Instance.GetTagCloud(20);
string something = "Episerver";
Tag tag = new Tag(something); //<- A watch on tag shows that tag has 4 items after this row
int totalItems;
var items = TagHandler.Instance.GetTaggedItems(tag, null, null, null, EntityStatus.Approved, page, pageSize, out totalItems);


//totalItems is 0 here, and number of items is 0.
Jan 12, 2012 10:03
Jan 12, 2012 10:39

Suddenly in debug mode it works. Caching?

Jan 12, 2012 13:34

Could be caching. Because I struggled with Relate attributes also - adding attribute from the code and then immediately retrieving that value. Cache was the issue of the exception. Havn't dig into your case..

Feb 07, 2012 12:32
Feb 07, 2012 12:41
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.