Re: NHibernateFacility: PersistentConfigurationBuilder suggestions

2009-03-25 Thread Tuna Toksoz
I committed the fix that you proposed, I will change it a bit later, to make IConfigurationPersistent be applicable to configuration builders. Basically add some lines to Facility code. I forgot to add log message for the commit, and trying to find a way to do it. Tuna Toksöz Eternal

Rescues in Internet Explorer

2009-03-25 Thread Ryan Scott
Unfortunately, I have to code against Internet Explorer 6 which occasionally presents some interesting issues. One of these is the fact that the option Show Friendly Http Error Messages prevents rescues from rendering properly. Instead it's a general HTTP 500 Internal server error message. I

Re: Rescues in Internet Explorer

2009-03-25 Thread Mauricio Scheffer
Make sure the content length of the rescue response has at least 512 bytes. See http://support.microsoft.com/?scid=kb;en-us;294807 On Mar 25, 4:39 pm, Ryan Scott rscot...@gmail.com wrote: Unfortunately, I have to code against Internet Explorer 6 which occasionally presents some interesting

Re: AR - Error in the Compositekey Example

2009-03-25 Thread Markus Zywitza
[CompositeKey] must be used instead of [PrimaryKey] on the class using the key, not the key class itself. See http://www.castleproject.org/activerecord/documentation/trunk/usersguide/pks.html#CompositePK for details. If this helps you, we would be grateful if you rectify the wiki page. Thanks,

Re: Rescues in Internet Explorer

2009-03-25 Thread Ryan Scott
Thanks. I don't typically have to target IE 6, so this hasn't popped up before. On Mar 25, 1:48 pm, Mauricio Scheffer mauricioschef...@gmail.com wrote: Make sure the content length of the rescue response has at least 512 bytes. Seehttp://support.microsoft.com/?scid=kb;en-us;294807 On Mar

Re: Rescues in Internet Explorer

2009-03-25 Thread Ryan Scott
It turns out IE7 has the same problem. I was just getting started looking at a new part of our system in IE6 and I was doing an extremely simple rescue (just printing the Exception message). Our standard rescues have enough content on them that they're always over 512 bytes, which is what led

Re: BaseControllerTest and logging

2009-03-25 Thread Markus Zywitza
I have loggers in all complicated tests. Some simply verify that there is logging used at all. Others use ConsoleLogger to help finding a good break point and condition in case of failures. That cuts debugger time by half at least. I always use DI and inject StreamLoggers and ConsoleLoggers into