Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeff 30 posts 62 karma points
    Aug 25, 2013 @ 16:52
    Jeff
    0

    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: }

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 27, 2013 @ 16:53
    Anthony Dang
    0

    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?

     

Please Sign in or register to post replies

Write your reply to:

Draft