Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020886 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | minor | have not tried | 2012-06-28 11:47 | 2012-08-24 08:19 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP15 | |||
Status | closed | Fix in branch | Fixed in SCM revision | bd6d492f6742 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020886: A new test in the API check should be added to test specific case when adding columns to the AD_Module table | |||||||
Description | In 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 --- |
![]() |
|||
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 11:47 | marvintm | OBNetwork customer | => No |
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 |