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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008059
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2009-03-11 08:532009-07-26 22:09
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version2.50MP3
StatusclosedFix in branchpiFixed in SCM revision375fc6f53fc3
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

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

DescriptionWhen 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.
Steps To Reproduce-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.
Proposed SolutionTwo 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.
Tags250MP3releasecandidate, Modularity
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

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

- Issue History
Date Modified Username Field Change
2009-03-11 08:53 alostale New Issue
2009-03-11 08:53 alostale Assigned To => alostale
2009-03-11 08:53 alostale Regression testing => No
2009-03-11 08:54 alostale Tag Attached: Modularity
2009-03-11 09:24 alostale Status new => scheduled
2009-03-11 09:24 alostale fix_in_branch => pi
2009-03-11 09:31 hgbot Checkin
2009-03-11 09:31 hgbot Note Added: 0014568
2009-03-11 09:31 hgbot Status scheduled => resolved
2009-03-11 09:31 hgbot Resolution open => fixed
2009-03-11 09:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9fcd68adaae1dd3b3abea41b3fb6e5641c3d876f [^]
2009-03-23 10:08 hgbot Checkin
2009-03-23 10:08 hgbot Note Added: 0014845
2009-03-23 10:08 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/9fcd68adaae1dd3b3abea41b3fb6e5641c3d876f [^] => http://code.openbravo.com/erp/devel/pi/rev/51bfe7561f63297b14747af1830470187a3e6770 [^]
2009-04-21 10:33 psarobe Status resolved => closed
2009-04-22 00:01 anonymous sf_bug_id 0 => 2778062
2009-07-03 13:11 hgbot Checkin
2009-07-03 13:11 hgbot Note Added: 0017803
2009-07-03 13:11 hgbot Status closed => resolved
2009-07-03 13:11 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/51bfe7561f63297b14747af1830470187a3e6770 [^] => http://code.openbravo.com/erp/devel/pi/rev/375fc6f53fc3e5668d6842419b4bb3c953cb2b42 [^]
2009-07-21 16:24 psarobe Fixed in Version 2.50 => 2.50MP3
2009-07-21 16:26 psarobe Tag Attached: 250MP3releasecandidate
2009-07-26 22:09 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker