u6 YSOD on uBlogsy 3.0b2 where Blog is child of Home.
Relocated the Blog node under Home and republished the Blog node and children. (Note this is not a fresh install but an existing site). Following error occurs:
Server Error in '/' Application.Item has already been added. Key in dictionary: 'GetSiteRoot_uBlogsySiteRoot' Key being added: 'GetSiteRoot_uBlogsySiteRoot' 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: 'GetSiteRoot_uBlogsySiteRoot' Key being added: 'GetSiteRoot_uBlogsySiteRoot' Source Error:
Line 11:
Line 12: // get title of page
Line 13: var landing = DataService.Instance.GetSiteRoot(Model.Content) ?? DataService.Instance.GetLanding(Model.Content);
Line 14: var title = landing.GetPropertyValue("uBlogsyContentTitle");
Line 15: if (Model.Content.Id != landing.Id)
I figured out what was going on. If you take a clean install of 6.0.3 and the latest version of uBlogsy then everything screws up. It actually gives the site root and site landing templates the same unique id in the database. Not sure how that is possible but I guess it is an Umbraco issue rather than uBlogsy.
u6 YSOD on uBlogsy 3.0b2 where Blog is child of Home.
Relocated the Blog node under Home and republished the Blog node and children. (Note this is not a fresh install but an existing site). Following error occurs:
Thanks for reporting this. That's a major oversight on my part.
I've fixed it and added a patch http://our.umbraco.org/FileDownload?id=6114
Just replace the files in /bin/
Thanks, that fixes it.
PS: Is the 3.0 source code available anywhere?
https://bitbucket.org/anthonydotnet/ublogsy/
mvc branch.
Not quite fixed yet. I'm getting almost the same message:
I should have clarified this is when I try to save a new Template file in the Settings section.
That's an umbraco issue.
Which version of umbraco and ublogsy?
What does your content tree look like?
I figured out what was going on. If you take a clean install of 6.0.3 and the latest version of uBlogsy then everything screws up. It actually gives the site root and site landing templates the same unique id in the database. Not sure how that is possible but I guess it is an Umbraco issue rather than uBlogsy.
That's nuts. Do you have any more details? About this?
is working on a reply...