mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=11863
This commit is contained in:
parent
4023443393
commit
5c9df1a27f
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue