Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008778Openbravo ERPA. Platformpublic2009-04-27 13:552009-05-10 00:00
mtaal 
marvintm 
urgentcriticalhave not tried
closedfixed 
5
pi 
pi2.50MP1 
Core
No
0008778: Adding a column used by the DAL directly can not be handled by smart.build
Smart.build recompiles the code in org.openbravo.base before updating the database. When a new column is added and org.openbravo.base depends on this new column then the smart.build fails as the new column is added in the update.database step which happens later.

Some sort of minimal update.database should be executed which does not require a recompile of org.openbravo.base.

gr. Martin
250MP1
Issue History
2009-04-27 13:55mtaalNew Issue
2009-04-27 13:55mtaalAssigned To => mtaal
2009-04-27 13:55mtaalRegression testing => No
2009-04-27 13:55mtaalTag Attached: 250MP1
2009-04-27 15:29pjuvaraStatusnew => scheduled
2009-04-27 15:29pjuvarafix_in_branch => pi
2009-04-28 12:07mtaalNote Added: 0015836
2009-04-28 12:07mtaalAssigned Tomtaal => marvintm
2009-04-28 16:24plujanNote Added: 0015863
2009-04-28 17:34hgbotCheckin
2009-04-28 17:34hgbotNote Added: 0015872
2009-04-28 17:34hgbotStatusscheduled => resolved
2009-04-28 17:34hgbotResolutionopen => fixed
2009-04-28 17:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/679da9c6ff4a27c79b11f09b0be8c9cd239c31f7 [^]
2009-05-09 20:52psarobeStatusresolved => closed
2009-05-09 20:52psarobeNote Added: 0016205
2009-05-10 00:00anonymoussf_bug_id0 => 2789545

Notes
(0015836)
mtaal   
2009-04-28 12:07   
After discussing with Asier/Antonio the best approach is to have a minimal update.database as a start of the smart.build. The minimal update.database should do the same thing as the current one but without rebuilding/recompiling.

gr. Martin
(0015863)
plujan   
2009-04-28 16:24   
Please note that this issue is critical in order to get a 2.50 to 2.50mp1 upgrader.
(0015872)
hgbot   
2009-04-28 17:34   
Repository: erp/devel/pi
Changeset: 679da9c6ff4a27c79b11f09b0be8c9cd239c31f7
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Apr 28 17:34:00 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/679da9c6ff4a27c79b11f09b0be8c9cd239c31f7 [^]

Fixed issue 8778. Now neither smartbuild nor update.database nor update.database.mod will attempt to execute generate.entities.light. This should hopefully fix the problem when trying to upgrade to a version of Openbravo whose DAL classes have been changed.

---
M build.xml
---
(0016205)
psarobe   
2009-05-09 20:52   
With that description not able to test