Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005926Openbravo ERP00. Application dictionarypublic2008-11-12 05:262009-02-27 02:54
elopio 
mtaal 
normalminoralways
closedfixed 
20Ubuntu 8.10
 
 
Core
No
0005926: Rebuilds are not logged in Installation History
When you perform a rebuild, it's not registered on installation history log.

Severity is minor because a file is created everytime you perform a rebuild, but I think it's inconsistent. I would prefer to log every action related to modules.
1. Go to Module Management
2. Go to add modules.
3. Click search and install a module.
4. Go to installed modules.
5. Rebuild.
Log rebuild actions.
Modularity, platform1_sprint1
blocks defect 0006261 closed mtaal Properly manage log in rebuild process 
Issue History
2008-11-12 05:26elopioNew Issue
2008-11-12 05:26elopioAssigned To => rafaroda
2008-11-12 05:26elopiosf_bug_id0 => 2266944
2008-11-12 05:26elopioRegression testing => No
2008-11-12 05:27elopioTag Attached: Modularity
2008-11-20 10:23rafarodaStatusnew => scheduled
2008-11-20 10:23rafarodaAssigned Torafaroda => gorka_gil
2008-11-20 10:23rafarodafix_in_branch => trunk
2008-12-09 12:53gorka_gilAssigned Togorka_gil => mtaal
2008-12-15 06:53mtaalTag Attached: platform1_sprint1
2008-12-20 20:45mtaalNote Added: 0011631
2008-12-22 13:51svnbotCheckin
2008-12-22 13:51svnbotNote Added: 0011655
2008-12-22 13:51svnbotStatusscheduled => resolved
2008-12-22 13:51svnbotResolutionopen => fixed
2008-12-22 13:51svnbotsvn_revision => 11471
2009-01-06 11:17mtaalRelationship addedblocks 0006261
2009-02-27 02:54elopioStatusresolved => closed

Notes
(0011631)
mtaal   
2008-12-20 20:45   
Hi Martin,

it is not "logging" in a file but in a table. All actions related to Module
Management window (Install, Uninstall, Scan for updates, ...) are tracked in
the AD_Module_Log table. This table has a column (Action) about what action
the user has performed. It is a list
(ad_reference_id='7CD9193198B94EF5B174D0F8512B0857'). There is an action for
"Build now" (value = 'B') but the ant task to build the system is not
inserting in this table.

For this action AD_Module_ID, AD_Module_Version_ID and ModuleName should be
null, so only standard columns and Log and Action should be inserted. In
action only the final result (Build Succesful or Build Failure) should be
written (we only have 2000 characters).

Ismael
(0011655)
svnbot   
2008-12-22 13:51   
Repository: openbravo
Revision: 11471
Author: mtaal
Date: 2008-12-22 13:51:07 +0100 (Mon, 22 Dec 2008)

Fixes issue 6088, Modularity: compilation errors are not in the log
Fixes issue 5926, Rebuilds are not logged in Installation History

---
U trunk/src/org/openbravo/erpCommon/ad_process/ApplyModules.java
U trunk/src/org/openbravo/erpCommon/utility/AntExecutor.java
U trunk/src-db/database/model/tables/AD_MODULE_LOG.xml
U trunk/src-db/database/sourcedata/AD_COLUMN.xml
U trunk/src-db/database/sourcedata/AD_TABLE.xml
U trunk/src-db/database/sourcedata/AD_TEXTINTERFACES.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11471&sc=1 [^]