mirror of https://github.com/BOINC/boinc.git
- 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 svn path=/trunk/boinc/; revision=17512
This commit is contained in:
parent
c2bccd57ed
commit
d6cab7309e
|
@ -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
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue