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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020886
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminorhave not tried2012-06-28 11:472012-08-24 08:19
ReportermarvintmView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP15
StatusclosedFix in branchFixed in SCM revisionbd6d492f6742
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020886: A new test in the API check should be added to test specific case when adding columns to the AD_Module table

DescriptionIn Openbravo there is a mirror table for AD_Module called AD_Module_Install (And also for AD_Module_Dependency, and AD_Module_DBprefix).

Mandatory columns in AD_Module should also exist in AD_Module_Install. This is a "hidden" rule, which currently is not explicit anywhere.

It would be very useful if the API-check checked for this rule, and failed if it our code didn't comply with it.
Steps To Reproduce- Add a mandatory column to AD_Module with an oncreatedefault. Do not add it to AD_Module_Install.
- Attempt to install a module and rebuild. The process will fail.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051424)
hgbot (developer)
2012-08-21 12:47

Repository: erp/devel/pi
Changeset: 33ed73f020808cef2b55cc0d6075f2163f58730d
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Aug 21 12:42:49 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/33ed73f020808cef2b55cc0d6075f2163f58730d [^]

Fixes issue 20886: API check updated to check missing mandatory ad_module columns

A check has been added to throw an error if a mandatory column is added to ad_module but not to ad_module_install

---
M src-db/database/lib/dbsourcemanager.jar
---
(0051425)
hgbot (developer)
2012-08-21 12:54

Repository: erp/devel/dbsm-main
Changeset: bd6d492f6742e9cb6b6830d8cd38480b81e22d14
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Aug 21 12:53:54 2012 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/bd6d492f6742e9cb6b6830d8cd38480b81e22d14 [^]

Fixes issue 20886: API check updated to check missing mandatory ad_module columns

---
M src/org/openbravo/ddlutils/util/ValidateAPIModel.java
---

- Issue History
Date Modified Username Field Change
2012-06-28 11:47 marvintm New Issue
2012-06-28 11:47 marvintm Assigned To => marvintm
2012-06-28 11:47 marvintm Modules => Core
2012-06-28 12:02 shuehner Issue Monitored: shuehner
2012-08-21 10:20 AugustoMauch Assigned To marvintm => AugustoMauch
2012-08-21 12:37 AugustoMauch Closed by => marvintm
2012-08-21 12:47 hgbot Checkin
2012-08-21 12:47 hgbot Note Added: 0051424
2012-08-21 12:47 hgbot Status new => resolved
2012-08-21 12:47 hgbot Resolution open => fixed
2012-08-21 12:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/33ed73f020808cef2b55cc0d6075f2163f58730d [^]
2012-08-21 12:54 hgbot Checkin
2012-08-21 12:54 hgbot Note Added: 0051425
2012-08-21 12:54 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/33ed73f020808cef2b55cc0d6075f2163f58730d [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/bd6d492f6742e9cb6b6830d8cd38480b81e22d14 [^]
2012-08-24 08:19 marvintm Status resolved => closed
2012-08-24 08:19 marvintm Fixed in Version => 3.0MP15


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker