Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009817
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-07-09 13:232009-07-29 00:00
ReporterAinhoaPagolaView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version2.50MP3
StatusclosedFix in branchFixed in SCM revision6f0fe03d4374
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseAnyJava version1.5
OS VersionUbuntu 8.4Database versionAnt version1.7
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

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

DescriptionIf 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.
Steps To ReproduceInstall 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.
Proposed SolutionAt the moment, whenever a system dataset is detected, all the datasets are installed. Only install the system datasets.
Tags250MP3releasecandidate, Modularity
Attached Files? file icon org.openbravo.hcm.common-1.0.0.obx [^] (221,192 bytes) 2009-07-09 13:23

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0018225)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2009-07-09 13:23 AinhoaPagola New Issue
2009-07-09 13:23 AinhoaPagola Assigned To => rafaroda
2009-07-09 13:23 AinhoaPagola File Added: org.openbravo.hcm.common-1.0.0.obx
2009-07-09 15:01 rafaroda Assigned To rafaroda => alostale
2009-07-09 15:01 rafaroda Priority normal => urgent
2009-07-09 15:01 rafaroda Status new => scheduled
2009-07-09 15:21 rafaroda Tag Attached: Modularity
2009-07-10 15:43 alostale Assigned To alostale => mtaal
2009-07-14 12:18 alostale Assigned To mtaal => alostale
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018225
2009-07-14 17:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b95322c353bb8c07aa742bd6a82f13601775856c [^]
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018226
2009-07-14 17:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/b95322c353bb8c07aa742bd6a82f13601775856c [^] => http://code.openbravo.com/erp/devel/pi/rev/976ce1ff2a4ae3524cad8e7dcab8851a26154851 [^]
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018227
2009-07-14 17:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/976ce1ff2a4ae3524cad8e7dcab8851a26154851 [^] => http://code.openbravo.com/erp/devel/pi/rev/1ada7f01bbaa1fd4d373f0fd4c4aba2236e77094 [^]
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018228
2009-07-14 17:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/1ada7f01bbaa1fd4d373f0fd4c4aba2236e77094 [^] => http://code.openbravo.com/erp/devel/pi/rev/12feb0076bb217afb835e98db1db7dee00f7568c [^]
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018229
2009-07-14 17:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/12feb0076bb217afb835e98db1db7dee00f7568c [^] => http://code.openbravo.com/erp/devel/pi/rev/dcea164338cf66ed09c680f0a1f069bf4b1826b3 [^]
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018230
2009-07-14 17:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/dcea164338cf66ed09c680f0a1f069bf4b1826b3 [^] => http://code.openbravo.com/erp/devel/pi/rev/aead9fc8e9f24595a3feeee3e650823db43319e1 [^]
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018231
2009-07-14 17:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/aead9fc8e9f24595a3feeee3e650823db43319e1 [^] => http://code.openbravo.com/erp/devel/pi/rev/15af5bdec058b3d89bb5602a1ec242c6f5f9c837 [^]
2009-07-14 17:50 hgbot Checkin
2009-07-14 17:50 hgbot Note Added: 0018232
2009-07-14 17:50 hgbot Status scheduled => resolved
2009-07-14 17:50 hgbot Resolution open => fixed
2009-07-14 17:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/15af5bdec058b3d89bb5602a1ec242c6f5f9c837 [^] => http://code.openbravo.com/erp/devel/pi/rev/6f0fe03d437440fead0ef59b4dfcf41494a9ca6e [^]
2009-07-21 16:24 psarobe Fixed in Version => 2.50MP3
2009-07-21 16:26 psarobe Tag Attached: 250MP3releasecandidate
2009-07-28 11:35 psarobe Status resolved => closed
2009-07-29 00:00 anonymous sf_bug_id 0 => 2828657


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker