PM-823 Error al momento de crear workspaces SOLVED

This commit is contained in:
Julio Cesar Laura
2014-10-30 12:49:53 -04:00
parent f27a3d23bd
commit 848886f424
3 changed files with 7 additions and 7 deletions

View File

@@ -697,8 +697,8 @@ class Installer
}
}
$rt['ao']['ao_db_wf'] = $this->check_db($this->options['advanced']['ao_db_wf']);
$rt['ao']['ao_db_rb'] = $this->check_db($this->options['advanced']['ao_db_rb']);
$rt['ao']['ao_db_rp'] = $this->check_db($this->options['advanced']['ao_db_rp']);
//$rt['ao']['ao_db_rb'] = $this->check_db($this->options['advanced']['ao_db_rb']);
//$rt['ao']['ao_db_rp'] = $this->check_db($this->options['advanced']['ao_db_rp']);
return $rt;
}

View File

@@ -50,8 +50,8 @@ class newSiteProxy extends HttpProxyController
//the site does not available
$this->error = true;
$this->message = $result['result']['database']['ao']['ao_db_wf']['message'];
$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rb']['message'];
$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rp']['message'];
//$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rb']['message'];
//$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rp']['message'];
}
} else {
$this->error = true;

View File

@@ -172,7 +172,7 @@ Ext.onReady(function(){
}
if (a.failureType === Ext.form.Action.SERVER_INVALID){
var text = JSON.parse(a.response.responseText);
if (typeof text.message) {
if (typeof(text.message) != 'undefined') {
Ext.Msg.alert(_('ID_ERROR'), _('ID_MYSQL_ERROR', text.message));
} else {
Ext.Msg.alert(_('ID_WARNING'), _('NEW_SITE_NOT_AVAILABLE'));