details: https://code.openbravo.com/erp/devel/pi/rev/05d03896eb4a
changeset: 33419:05d03896eb4a
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Fri Feb 09 11:36:42 2018 +0100
summary: Related with issue 37867: Commented out code meant for debug has
been restored
diffstat:
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java
| 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r dcb9af89d341 -r 05d03896eb4a
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java
---
a/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java
Fri Feb 09 11:32:12 2018 +0100
+++
b/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java
Fri Feb 09 11:36:42 2018 +0100
@@ -242,7 +242,7 @@
private Table getTableFromParameters(Map<String, String> parameters) {
Table table = null;
try {
- // OBContext.setAdminMode(true);
+ OBContext.setAdminMode(true);
String tableId = parameters.get("tableId");
String tabId = parameters.get("tabId");
if (tableId != null) {
@@ -253,7 +253,7 @@
table = tab.getTable();
}
} finally {
- // OBContext.restorePreviousMode();
+ OBContext.restorePreviousMode();
}
return table;
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits