Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009817Openbravo ERPA. Platformpublic2009-07-09 13:232009-07-29 00:00
AinhoaPagola 
alostale 
urgentmajoralways
closedfixed 
20Ubuntu 8.4
pi 
2.50MP3 
Core
No
0009817: Modularity: Client level datasets are applied at installation process
If a module contains a system dataset and a client dataset, both datasets are inserted at installation time. Only the system dataset should be inserted.

At the same time, in the initial client setup process both datasets are inserted. Only the client datasets should be inserted then. In this process, the information on the system dataset is "updated" and the client information inserted. If this is done through the entreprise module management process, an error is displayed because the user has no rights to update the system info. This process should not be updating the system info.
Install attached HCM module. Note that this module can only be installed using pi(changeset 4287 +).

This module contains a system dataset (inserts a tree and a process request) and a client dataset (inserts three roles).

Check that after installation there is a new record in AD_tree table (which is right) and three new records in AD_role table (wrong). This records belong to '0' user. This records should be created only at client creation and should belong to the client.
At the moment, whenever a system dataset is detected, all the datasets are installed. Only install the system datasets.
250MP3releasecandidate, Modularity
? org.openbravo.hcm.common-1.0.0.obx (221,192) 2009-07-09 13:23
https://issues.openbravo.com/file_download.php?file_id=1526&type=bug
Issue History
2009-07-09 13:23AinhoaPagolaNew Issue
2009-07-09 13:23AinhoaPagolaAssigned To => rafaroda
2009-07-09 13:23AinhoaPagolaFile Added: org.openbravo.hcm.common-1.0.0.obx
2009-07-09 15:01rafarodaAssigned Torafaroda => alostale
2009-07-09 15:01rafarodaPrioritynormal => urgent
2009-07-09 15:01rafarodaStatusnew => scheduled
2009-07-09 15:21rafarodaTag Attached: Modularity
2009-07-10 15:43alostaleAssigned Toalostale => mtaal
2009-07-14 12:18alostaleAssigned Tomtaal => alostale
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018225
2009-07-14 17:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b95322c353bb8c07aa742bd6a82f13601775856c [^]
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018226
2009-07-14 17:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b95322c353bb8c07aa742bd6a82f13601775856c [^] => http://code.openbravo.com/erp/devel/pi/rev/976ce1ff2a4ae3524cad8e7dcab8851a26154851 [^]
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018227
2009-07-14 17:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/976ce1ff2a4ae3524cad8e7dcab8851a26154851 [^] => http://code.openbravo.com/erp/devel/pi/rev/1ada7f01bbaa1fd4d373f0fd4c4aba2236e77094 [^]
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018228
2009-07-14 17:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/1ada7f01bbaa1fd4d373f0fd4c4aba2236e77094 [^] => http://code.openbravo.com/erp/devel/pi/rev/12feb0076bb217afb835e98db1db7dee00f7568c [^]
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018229
2009-07-14 17:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/12feb0076bb217afb835e98db1db7dee00f7568c [^] => http://code.openbravo.com/erp/devel/pi/rev/dcea164338cf66ed09c680f0a1f069bf4b1826b3 [^]
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018230
2009-07-14 17:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/dcea164338cf66ed09c680f0a1f069bf4b1826b3 [^] => http://code.openbravo.com/erp/devel/pi/rev/aead9fc8e9f24595a3feeee3e650823db43319e1 [^]
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018231
2009-07-14 17:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/aead9fc8e9f24595a3feeee3e650823db43319e1 [^] => http://code.openbravo.com/erp/devel/pi/rev/15af5bdec058b3d89bb5602a1ec242c6f5f9c837 [^]
2009-07-14 17:50hgbotCheckin
2009-07-14 17:50hgbotNote Added: 0018232
2009-07-14 17:50hgbotStatusscheduled => resolved
2009-07-14 17:50hgbotResolutionopen => fixed
2009-07-14 17:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/15af5bdec058b3d89bb5602a1ec242c6f5f9c837 [^] => http://code.openbravo.com/erp/devel/pi/rev/6f0fe03d437440fead0ef59b4dfcf41494a9ca6e [^]
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-28 11:35psarobeStatusresolved => closed
2009-07-29 00:00anonymoussf_bug_id0 => 2828657

Notes
(0018225)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: b95322c353bb8c07aa742bd6a82f13601775856c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 13:31:50 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b95322c353bb8c07aa742bd6a82f13601775856c [^]

issue 0009817: Modularity: Client level datasets are applied at installation process
  When applying modules select only the dataset for System

---
M src/org/openbravo/erpCommon/modules/ApplyModule.java
M src/org/openbravo/erpCommon/modules/ApplyModule_data.xsql
---
(0018226)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: 976ce1ff2a4ae3524cad8e7dcab8851a26154851
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 15:44:30 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/976ce1ff2a4ae3524cad8e7dcab8851a26154851 [^]

issue 0009817
  Moved orderModuleByDependency method to Utility class to be used generally

---
M src/org/openbravo/erpCommon/modules/ApplyModule.java
M src/org/openbravo/erpCommon/utility/Utility.java
---
(0018227)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: 1ada7f01bbaa1fd4d373f0fd4c4aba2236e77094
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 15:48:11 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1ada7f01bbaa1fd4d373f0fd4c4aba2236e77094 [^]

issue 0009817
 moved from Utiltiy to ModuleUtilty

---
M src/org/openbravo/erpCommon/modules/ApplyModule.java
M src/org/openbravo/erpCommon/modules/ModuleUtiltiy.java
M src/org/openbravo/erpCommon/utility/Utility.java
---
(0018228)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: 12feb0076bb217afb835e98db1db7dee00f7568c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 16:21:34 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/12feb0076bb217afb835e98db1db7dee00f7568c [^]

issue 0009817
 Manage file names for reference data xml files in initial client setup

---
M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql
---
(0018229)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: dcea164338cf66ed09c680f0a1f069bf4b1826b3
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 16:36:50 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dcea164338cf66ed09c680f0a1f069bf4b1826b3 [^]

issue 0009817
Manage xml reference data in Initial Org setup

---
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup_data.xsql
---
(0018230)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: aead9fc8e9f24595a3feeee3e650823db43319e1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 16:54:40 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/aead9fc8e9f24595a3feeee3e650823db43319e1 [^]

issue 0009817
  Manage files in Update reference data

---
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData_data.xsql
---
(0018231)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: 15af5bdec058b3d89bb5602a1ec242c6f5f9c837
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 17:09:07 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/15af5bdec058b3d89bb5602a1ec242c6f5f9c837 [^]

issue 0009817
  Set modules as installed only in case they were not there before

---
M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup_data.xsql
---
(0018232)
hgbot   
2009-07-14 17:50   
Repository: erp/devel/pi
Changeset: 6f0fe03d437440fead0ef59b4dfcf41494a9ca6e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 14 17:49:47 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6f0fe03d437440fead0ef59b4dfcf41494a9ca6e [^]

fixed bug 0009817: Modularity: Client level datasets are applied at installation process

---
M src-db/database/model/tables/AD_ORG_ACCTSCHEMA.xml
M src-db/database/model/triggers/C_BPARTNER_TRG.xml
M src-db/database/model/triggers/M_PRODUCT_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_reports/ReportAssetDepreciationSchedule.html
M src/org/openbravo/erpCommon/ad_reports/ReportAssetDepreciationSchedule.java
M src/org/openbravo/erpCommon/ad_reports/ReportAssetDepreciationSchedule.xml
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.jrxml
R src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger_Previous.jasper
---