Project

General

Profile

Limitation des téléchargements à 1500 items à la fois

Limiter les téléchargements à 15000 items à la fois (soit 150 Go pour SDO)
Dans le fichier source:workspace/client-user/js/components/livegrid/dependencies/contextMenu.js@6#L866
rajouter

onResourceCallClick : function (url, method, userSyncChoice, limit, userParameters) {
if ((method == "POST" || method == "PUT" || method == "DELETE") && userSyncChoice == "TASK_RUN_SYNC") {
 Ext.Msg.alert(i18n.get('label.error'), String.format(i18n.get("error.invalidMethodOrSyncRessourceCall"), method, userSyncChoice));
 return;
}
if(this.getNbRowsSelected() > 15000) {
            Ext.Msg.alert(i18n.get('label.warning'),"Download more than 15000 items (around 150 Go) is not allowed, please split your request");
            return;
        }
else if(this.getNbRowsSelected()==0 && this.grid.store.totalLength > 15000) {
            Ext.Msg.alert(i18n.get('label.warning'),"Download more than 15000 items (around 150 Go) is not allowed, please split your request");
            return;
}
.
.
.