Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008059Openbravo ERP00. Application dictionarypublic2009-03-11 08:532009-07-26 22:09
alostale 
alostale 
urgentmajoralways
closedfixed 
5
pi 
pi2.50MP3 
Core
No
0008059: Risk of loosing a created module if it has not been exported
When a new module is created its status is "installed". Installed status is used when installing modules and it means the module file structure has been copied to the system but it needs to be "applied" to update database with the information in xml files and the system needs to be rebuilt to generate and compile the classes within it.

Modules in "installed" status appear in the "Module Management Console" as "changes pending, rebuild now". If the system is rebuilt but the module was not exported the effect will be that the module database structure is tried to be loaded from files, but as there is not already any file for the structure the actual information in database for the module will be removed.
-Create a new module in development. Check the status is "installed"
-Add some Application Dictionary stuff to this module, for example a window.
-Go to Module Management Console. Check the module appears and next to it there is a "changes pending, rebuild now" link.
-Rebuild the system
-Now all the module information has been deleted from database.
Two possible solutions:
-When a new module is created its status should be "applied" instead of "installed"
-In Module management console do not allow to rebuild modules that are in development.
250MP3releasecandidate, Modularity
Issue History
2009-03-11 08:53alostaleNew Issue
2009-03-11 08:53alostaleAssigned To => alostale
2009-03-11 08:53alostaleRegression testing => No
2009-03-11 08:54alostaleTag Attached: Modularity
2009-03-11 09:24alostaleStatusnew => scheduled
2009-03-11 09:24alostalefix_in_branch => pi
2009-03-11 09:31hgbotCheckin
2009-03-11 09:31hgbotNote Added: 0014568
2009-03-11 09:31hgbotStatusscheduled => resolved
2009-03-11 09:31hgbotResolutionopen => fixed
2009-03-11 09:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9fcd68adaae1dd3b3abea41b3fb6e5641c3d876f [^]
2009-03-23 10:08hgbotCheckin
2009-03-23 10:08hgbotNote Added: 0014845
2009-03-23 10:08hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/9fcd68adaae1dd3b3abea41b3fb6e5641c3d876f [^] => http://code.openbravo.com/erp/devel/pi/rev/51bfe7561f63297b14747af1830470187a3e6770 [^]
2009-04-21 10:33psarobeStatusresolved => closed
2009-04-22 00:01anonymoussf_bug_id0 => 2778062
2009-07-03 13:11hgbotCheckin
2009-07-03 13:11hgbotNote Added: 0017803
2009-07-03 13:11hgbotStatusclosed => resolved
2009-07-03 13:11hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/51bfe7561f63297b14747af1830470187a3e6770 [^] => http://code.openbravo.com/erp/devel/pi/rev/375fc6f53fc3e5668d6842419b4bb3c953cb2b42 [^]
2009-07-21 16:24psarobeFixed in Version2.50 => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-26 22:09psarobeStatusresolved => closed

Notes
(0014568)
hgbot   
2009-03-11 09:31   
Repository: erp/devel/pi
Changeset: 9fcd68adaae1dd3b3abea41b3fb6e5641c3d876f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Mar 11 09:29:33 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9fcd68adaae1dd3b3abea41b3fb6e5641c3d876f [^]

fixed bug 0008059: Risk of loosing a created module if it has not been exported

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0014845)
hgbot   
2009-03-23 10:08   
Repository: erp/devel/pi
Changeset: 51bfe7561f63297b14747af1830470187a3e6770
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 23 10:08:17 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/51bfe7561f63297b14747af1830470187a3e6770 [^]

related to bug 0008059: Risk of loosing a created module if it has not been exported. Do not force update.database for core update

---
M src/org/openbravo/erpCommon/ad_process/ApplyModules.java
---
(0017803)
hgbot   
2009-07-03 13:11   
Repository: erp/devel/pi
Changeset: 375fc6f53fc3e5668d6842419b4bb3c953cb2b42
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Mar 11 09:29:33 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/375fc6f53fc3e5668d6842419b4bb3c953cb2b42 [^]

fixed bug 0008059: Risk of loosing a created module if it has not been exported

---
M src-db/database/sourcedata/AD_COLUMN.xml
---