CS Nuglet: Fix for given key not present in the dictionary error

I updated five Community Server 2008.5 sites to SP1 this morning and everything went pretty smoothly.  Fortunately I’d done it a bunch of times before.  I did encounter a weird “Fix for given key not present in the dictionary error” when I tested the editor’s Insert Media function on a custom blog theme.

The popup window displayed the Oops-masked “Fix for given key not present” exception and not the insert media form.  I’ve come to like using that little widget, so I had to investigate. 

Seems there was a new area added to the blog theme.config in the SP1 pertaining to media that wasn’t in CS2008.5, so I obviously missed a file compare. 

So kids, don’t make the same mistake I made. Check those custom blog theme.configs when you upgrade to CS2008.5 SP1.

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.