details:   https://code.openbravo.com/erp/devel/pi/rev/7c9b6e8a8f85
changeset: 20689:7c9b6e8a8f85
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Tue Jul 02 18:27:52 2013 +0200
summary:   Fixes issue 24231: It is possible to apply a dataset in two 
organizations

In the fix of the issue 23990 [1] a new parameter was added to the resolve 
method of the EntityResolver class, that had to be set to true when it was 
called when datasets are being applied. This code was included in the process 
called when an organization is created with datasets, but not in the Enterprise 
Module Management process.

[1] 
https://code.openbravo.com/erp/devel/pi/rev/83447d2c67e21ac06ca92c1d2ec432d5e9e2656a

diffstat:

 src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7bdf08273195 -r 7c9b6e8a8f85 
src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
--- a/src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java     Tue Jul 
02 18:08:40 2013 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java     Tue Jul 
02 18:27:52 2013 +0200
@@ -224,7 +224,7 @@
             ImportResult myResult = myData.importDataFromXML(
                 (Client) OBDal.getInstance().get(Client.class, 
vars.getClient()),
                 (Organization) OBDal.getInstance().get(Organization.class, 
strOrganization),
-                strXml, (Module) OBDal.getInstance().get(Module.class, 
data[j].adModuleId));
+                strXml, (Module) OBDal.getInstance().get(Module.class, 
data[j].adModuleId), true);
             m_info.append(SALTO_LINEA).append("File: 
").append(datasetFile.getName()).append(":")
                 .append(SALTO_LINEA);
             if (myResult.getLogMessages() != null && 
!myResult.getLogMessages().equals("")

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to