Related to issue 26638 : Commented code used for selector pagination checks till it is fixed
authorShankar Balachandran <shankar.balachandran@openbravo.com>
Tue, 24 Jun 2014 19:05:24 +0530
changeset 23865 01ad2c4839e0
parent 23864 f3972fa0041b
child 23866 412c6541bb48
child 23869 e78ccbaf0186
Related to issue 26638 : Commented code used for selector pagination checks till it is fixed
modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
--- 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