Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
authorMartin Taal <martin.taal@openbravo.com>
Thu, 11 Jun 2015 17:17:02 +0200
changeset 26905 83a0f8d2d083
parent 26900 aba1a9d25e4d
child 26906 91f6d8a87c92
Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Initialize organisation structure provider before processing
src/org/openbravo/service/importprocess/ImportEntryProcessor.java
--- a/src/org/openbravo/service/importprocess/ImportEntryProcessor.java	Thu Jun 11 17:13:36 2015 +0200
+++ b/src/org/openbravo/service/importprocess/ImportEntryProcessor.java	Thu Jun 11 17:17:02 2015 +0200
@@ -388,8 +388,10 @@
         cachedOBContexts.put(cacheKey, OBContext.getOBContext());
         obContext = OBContext.getOBContext();
 
-        // initialize
+        // initialize several things so that they are not initialized
+        // during the processing
         obContext.getEntityAccessChecker().initialize();
+        obContext.getOrganizationStructureProvider().reInitialize();
       }
       setVariablesSecureApp(obContext);