Skin bug, had to revert!

code bugI knew my background solution worked too flawlessly.  Always be afraid when you code something with no bugs in it.  I thought I tested this locally but it turns out I didn't since if you viewed an article, it would throw a hard exception.  I think it is since I did a Server.MapPath.  I remember adding that in at the very end so I'm betting I tested my solution before this was added in.  No matter what, I see 2 easy improvements I could do on that code.  1st is create a string for the Server.MapPath and the 2nd is do a Directory.Exists(mapPath) if statement.  This will prevent the source from bombing.

Crap. 

Since it is technically Christmas, I'm going to hold off fixing the problem.  I don't want Santa to find me still awake at 3:00am.  For now I reverted the skin back to the modified Origami skin that comes with SubText.

Guilherme Jul 13, 2010 @ 12:35 PM

# that's my pic, nice!
Nice thing you liked this picture to illustrate your post.
Feel free to use my other CC-shared flickr pictures. :)

btw that's an actual bug on my screen, no photoshop!

Post a Comment

Please add 3 and 3 and type the answer here: