Multiple blogs and home page widgets causes "Item has already been added. Key in dictionary: 'GetLanding_uBlogsyLanding' "
Trying to add some home page widtets to my site which has multiple uBlogsy blogs. When it goes to render Authors/Tags/etc... blows up on section below. I have to presume it's because it doesn't know what uBlogsy Landing to use to find those items. Help?
Item has already been added. Key in dictionary: 'GetLanding_uBlogsyLanding' Key being added: 'GetLanding_uBlogsyLanding'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'GetLanding_uBlogsyLanding' Key being added: 'GetLanding_uBlogsyLanding'
Source Error:
Line 19:
Line 20: // get landing page
Line 21: var landing = DataService.Instance.GetLanding(Model.Content);
Line 22: @RenderForPost(landing, tags)
Line 23: }
It was happening previously because the code looks up the tree, then down again to find the ublogsy landing node. Then it caches the result so other widgets don't have to crawl the tree.
The latest ublogsy shouldnt do that.
Are you hardcoding any id's?
Can I see your content tree? And perhaps the template?
Multiple blogs and home page widgets causes "Item has already been added. Key in dictionary: 'GetLanding_uBlogsyLanding' "
Trying to add some home page widtets to my site which has multiple uBlogsy blogs. When it goes to render Authors/Tags/etc... blows up on section below. I have to presume it's because it doesn't know what uBlogsy Landing to use to find those items. Help?
Item has already been added. Key in dictionary: 'GetLanding_uBlogsyLanding' Key being added: 'GetLanding_uBlogsyLanding'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'GetLanding_uBlogsyLanding' Key being added: 'GetLanding_uBlogsyLanding'
Source Error:
Line 19: Line 20: // get landing page Line 21: var landing = DataService.Instance.GetLanding(Model.Content); Line 22: @RenderForPost(landing, tags) Line 23: }
It was happening previously because the code looks up the tree, then down again to find the ublogsy landing node. Then it caches the result so other widgets don't have to crawl the tree.
The latest ublogsy shouldnt do that.
Are you hardcoding any id's?
Can I see your content tree? And perhaps the template?
is working on a reply...