BUG-14726 Error al conectar ProcessMaker con un... IMPROVEMENT
- even filtered by type "SUPER".
- add validation in intall also a check for use the current user.
- add validation in new workspace.
This commit is contained in:
@@ -49,6 +49,9 @@ class newSiteProxy extends HttpProxyController
|
||||
} else {
|
||||
//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'];
|
||||
}
|
||||
} else {
|
||||
$this->error = true;
|
||||
|
||||
@@ -171,7 +171,12 @@ Ext.onReady(function(){
|
||||
Ext.Msg.alert(_('ID_FAILURE'), _('ID_SERVER_REPORTED') + ':' + a.response.status+' '+a.response.statusText);
|
||||
}
|
||||
if (a.failureType === Ext.form.Action.SERVER_INVALID){
|
||||
Ext.Msg.alert(_('ID_WARNING'), _('NEW_SITE_NOT_AVAILABLE'));
|
||||
var text = JSON.parse(a.response.responseText);
|
||||
if (typeof text.message) {
|
||||
Ext.Msg.alert(_('ID_ERROR'), _('ID_MYSQL_ERROR', text.message));
|
||||
} else {
|
||||
Ext.Msg.alert(_('ID_WARNING'), _('NEW_SITE_NOT_AVAILABLE'));
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user