remove this bug

May 10, 2007 at 11:30 PM
Edited May 11, 2007 at 12:34 AM
(1) In WebSite.cs, what's this meant to accomplish?

else // new website, first use
{
_instance.CheckEnvironmentSetup(); <-------- ???????
_instance.ResetWebSite();
}

(2) Why not debug first, then contemplate sexy features?
Coordinator
May 11, 2007 at 9:07 AM
Edited May 11, 2007 at 9:09 AM
Dear user
indeed the code as this does not accomlish anything, so I corrected it:

if(_instance.CheckEnvironmentSetup())
_instance.ResetWebSite();

The website will only be reset when the App_Data folder is existent, if not,
there will be thrown an error: (CustomRoleProvider,cs)
if (!WebSite.GetInstance().ReadyToUse)
throw new WebsiteNotReadyException("This website is not yet ready to use. Please verify that the folder App_Data exists.");

The bug is fixed for 1.1.2 Final.

Best regards,
webeasy