Pretty large bug in the new drop - Presenters not getting set

Topics: Web Client Software Factory
Dec 12, 2006 at 6:45 AM
For anyone using the new drop of the WCSF, there's a pretty large bug that took awhile to diagnose. It will only occur if you have View pages that have QueryString variables on them. If you do, the Presenter will not get set. The reason is because of the way that the WebClientApplication.IsAspxPage determines an Aspx page. I imagine it will get refactored again in the future, but for now, I just changed the return line in that method to:

return request.Contains(Aspx_FileExtension);

instead and the code works again. If you don't do this, any pages that have a QueryString variable will not register as ASPX pages and won't get the dependency injection going.
Dec 12, 2006 at 4:56 PM
This discussion has been copied to Work Item 6433. You may wish to continue further discussion there.
Dec 12, 2006 at 11:55 PM
Select here to go to the work item
Dec 12, 2006 at 11:57 PM
Thank you for finding the bug. The fix will show up in the next drop.

It is great to see you get into the code that we released.