diff --git a/checkin_notes b/checkin_notes index 90f2d05320..4a323cd6d8 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2731,3 +2731,13 @@ Rom 5 Mar 2009 WizardAttachProject.cpp, .h win_build/ boincmgr_curl.vcproj + +Rom 5 Mar 2009 + - MGR: Account for new error code returned by the CC in response + to a get_project_config.php request. It was causing the + wizards to throw a temp unavailable error page instead + of the not a boinc project page. Fixes #640 + + clientgui/ + AccountManagerPropertiesPage.cpp + ProjectPropertiesPage.cpp diff --git a/clientgui/AccountManagerPropertiesPage.cpp b/clientgui/AccountManagerPropertiesPage.cpp index 4cca904fab..96a478704d 100644 --- a/clientgui/AccountManagerPropertiesPage.cpp +++ b/clientgui/AccountManagerPropertiesPage.cpp @@ -326,6 +326,7 @@ void CAccountManagerPropertiesPage::OnStateChange( CAccountManagerPropertiesPage bSuccessfulCondition = (!iReturnValue) && (ERR_FILE_NOT_FOUND == pc->error_num) || (!iReturnValue) && (ERR_GETHOSTBYNAME == pc->error_num) || + (!iReturnValue) && (ERR_CONNECT == pc->error_num) || (!iReturnValue) && (ERR_XML_PARSE == pc->error_num); if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) { SetProjectPropertiesURLFailure(true); @@ -336,6 +337,7 @@ void CAccountManagerPropertiesPage::OnStateChange( CAccountManagerPropertiesPage bSuccessfulCondition = ((!iReturnValue) && (ERR_FILE_NOT_FOUND != pc->error_num)) && ((!iReturnValue) && (ERR_GETHOSTBYNAME != pc->error_num)) && + ((!iReturnValue) && (ERR_CONNECT != pc->error_num)) && ((!iReturnValue) && (ERR_XML_PARSE != pc->error_num)) && (!iReturnValue); if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) { diff --git a/clientgui/ProjectPropertiesPage.cpp b/clientgui/ProjectPropertiesPage.cpp index 5d6b732aac..4d7eb600be 100644 --- a/clientgui/ProjectPropertiesPage.cpp +++ b/clientgui/ProjectPropertiesPage.cpp @@ -450,6 +450,7 @@ void CProjectPropertiesPage::OnStateChange( CProjectPropertiesPageEvent& WXUNUSE bSuccessfulCondition = (!iReturnValue) && (ERR_FILE_NOT_FOUND == pc->error_num) || (!iReturnValue) && (ERR_GETHOSTBYNAME == pc->error_num) || + (!iReturnValue) && (ERR_CONNECT == pc->error_num) || (!iReturnValue) && (ERR_XML_PARSE == pc->error_num); if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) { SetProjectPropertiesURLFailure(true); @@ -460,6 +461,7 @@ void CProjectPropertiesPage::OnStateChange( CProjectPropertiesPageEvent& WXUNUSE bSuccessfulCondition = ((!iReturnValue) && (ERR_FILE_NOT_FOUND != pc->error_num)) && ((!iReturnValue) && (ERR_GETHOSTBYNAME != pc->error_num)) && + ((!iReturnValue) && (ERR_CONNECT != pc->error_num)) && ((!iReturnValue) && (ERR_XML_PARSE != pc->error_num)) && (!iReturnValue); if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) {