Related to issue
26638 : Commented code used for selector pagination checks till it is fixed
--- a/modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java Tue Jun 24 12:53:44 2014 +0200
+++ b/modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java Tue Jun 24 19:05:24 2014 +0530
@@ -44,7 +44,6 @@
import org.openbravo.database.SessionInfo;
import org.openbravo.erpCommon.utility.OBMessageUtils;
import org.openbravo.service.json.JsonToDataConverter.JsonConversionError;
-import org.openbravo.userinterface.selector.SelectorConstants;
/**
* Implements generic data operations which have parameters and json as an input and return results
@@ -394,8 +393,8 @@
log.warn("Fetching data without pagination, this can cause perfomance issues. Parameters: "
+ paramMsg);
- if (parameters.containsKey(JsonConstants.TAB_PARAMETER)
- || parameters.containsKey(SelectorConstants.DS_REQUEST_SELECTOR_ID_PARAMETER)) {
+ if (parameters.containsKey(JsonConstants.TAB_PARAMETER)) {
+ // || parameters.containsKey(SelectorConstants.DS_REQUEST_SELECTOR_ID_PARAMETER)) {
// FIXME: Some selectors working in 2.50 windows are incorrectly unpaged (see issue #26734)
// for now we are not preventing unpaged selector requests till this issue is properly fixed
// after that they should be prevented again