*** empty log message ***

svn path=/trunk/boinc/; revision=11863
This commit is contained in:
David Anderson 2007-01-15 21:22:23 +00:00
parent 4023443393
commit 5c9df1a27f
3 changed files with 16 additions and 1 deletions

View File

@ -601,3 +601,11 @@ Reinhard 15 Jan 2007
client/
Makefile.am
David 15 Jan 2007
- fix Manager text (see above)
clientgui/
ProjectProcessingPage.cpp
lib/
error_numbers.h

View File

@ -363,6 +363,7 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE
wxTimeSpan tsExecutionTime;
bool bPostNewEvent = true;
int iReturnValue = 0;
bool creating_account = false;
wxASSERT(pDoc);
wxASSERT(wxDynamicCast(pDoc, CMainDocument));
@ -401,6 +402,7 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE
if (pWAP->m_AccountInfoPage->m_pAccountCreateCtrl->GetValue()) {
pDoc->rpc.create_account(*ai);
creating_account = true;
// Wait until we are done processing the request.
dtStartExecutionTime = wxDateTime::Now();
@ -456,7 +458,11 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE
} else {
SetProjectCommunitcationsSucceeded(false);
if ((ERR_DB_NON_UNIQUE == ao->error_num) || CHECK_DEBUG_FLAG(WIZDEBUG_ERRACCOUNTALREADYEXISTS)) {
if ((ao->error_num == ERR_DB_NOT_UNIQUE)
|| (ao->error_num == ERR_NONUNIQUE_EMAIL)
|| (ao->error_num == ERR_BAD_PASSWD && creating_account)
|| CHECK_DEBUG_FLAG(WIZDEBUG_ERRACCOUNTALREADYEXISTS)
) {
SetProjectAccountAlreadyExists(true);
} else {
SetProjectAccountAlreadyExists(false);

View File

@ -152,6 +152,7 @@
#define ERR_IN_PROGRESS -204
#define ERR_BAD_EMAIL_ADDR -205
#define ERR_BAD_PASSWD -206
#define ERR_NONUNIQUE_EMAIL -207
#define ERR_ACCT_CREATION_DISABLED -208
#define ERR_ATTACH_FAIL_INIT -209
#define ERR_ATTACH_FAIL_DOWNLOAD -210