Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0011716 | Openbravo ERP | A. Platform | public | 2009-12-09 23:53 | 2009-12-18 10:10 |
|
Reporter | iperdomo | |
Assigned To | iperdomo | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | 2.6.30-gentoo-r5 |
Product Version | pi | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
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 | 0011716: pi module integrity test failed |
Description |
http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/230/console [^]
----
org.openbravo.model.ad.module:
Bad
method org.openbravo.model.ad.module.ModuleLog.getModule(): type org.openbravo.model.ad.module.Module in api-checks/java/reference/250, but type java.lang.String in /var/www/localhost/htdocs/japi/230
Missing
field org.openbravo.model.ad.module.Module.PROPERTY_MODULELOGLIST: missing in /var/www/localhost/htdocs/japi/230
method org.openbravo.model.ad.module.Module.getModuleLogList(): missing in /var/www/localhost/htdocs/japi/230
method org.openbravo.model.ad.module.Module.setModuleLogList(java.util.List<org.openbravo.model.ad.module.ModuleLog>): missing in /var/www/localhost/htdocs/japi/230
method org.openbravo.model.ad.module.ModuleLog.setModule(org.openbravo.model.ad.module.Module): missing in /var/www/localhost/htdocs/japi/230
|
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0011705 | 2.50MP12 | closed | marvintm | AD_Module_Log table shouldn't have a reference to AD_Module table |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-12-09 23:53 | iperdomo | New Issue | |
2009-12-09 23:53 | iperdomo | Assigned To | => iperdomo |
2009-12-09 23:53 | iperdomo | OBNetwork customer | => No |
2009-12-10 09:35 | iperdomo | Relationship added | related to 0011705 |
2009-12-10 09:43 | iperdomo | Note Added: 0022608 | |
2009-12-10 09:43 | iperdomo | Assigned To | iperdomo => |
2009-12-10 09:43 | iperdomo | Status | new => scheduled |
2009-12-10 09:43 | iperdomo | Assigned To | => pjuvara |
2009-12-10 09:43 | iperdomo | fix_in_branch | => pi |
2009-12-10 09:45 | iperdomo | Note Edited: 0022608 | |
2009-12-10 11:59 | pjuvara | Note Added: 0022620 | |
2009-12-10 12:00 | pjuvara | Assigned To | pjuvara => iperdomo |
2009-12-10 12:29 | hgbot | Checkin | |
2009-12-10 12:29 | hgbot | Note Added: 0022626 | |
2009-12-10 12:29 | hgbot | Status | scheduled => resolved |
2009-12-10 12:29 | hgbot | Resolution | open => fixed |
2009-12-10 12:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/722892bc041da782f0735147f18a02dae8d0e8b7 [^] |
2009-12-10 12:42 | shuehner | Status | resolved => closed |
2009-12-10 13:31 | hgbot | Checkin | |
2009-12-10 13:31 | hgbot | Note Added: 0022637 | |
2009-12-10 13:31 | hgbot | Status | closed => resolved |
2009-12-10 13:31 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/api-checks/rev/722892bc041da782f0735147f18a02dae8d0e8b7 [^] => http://code.openbravo.com/erp/devel/api-checks/rev/3b3e2ecea84fac6f7a813bb3878cc8c168723e70 [^] |
2009-12-10 13:51 | iperdomo | Status | resolved => closed |
2009-12-11 00:00 | anonymous | sf_bug_id | 0 => 2912329 |
2009-12-18 10:10 | iperdomo | Note Added: 0022931 | |
Notes |
|
(0022608)
|
iperdomo
|
2009-12-10 09:43
(edited on: 2009-12-10 09:45) |
|
* Type: Changed reference of column
* Description: The AD_Module_Log.AD_Module_ID column had a reference TableDir and was changed to String
* Risk: Low
* Comments: The AD_Module_Log table contains a installation log of modules, it holds all the operations made through the module management console. When this table was created it has a reference TableDir in the AD_Module_ID column, that is fine in other tables but not here. The TableDir reference builds a link to to the 'parent' entity (ADModule in this case). The uninstall operation is also logged in this table, so if you uninstall a module you have record if this operation with a link to non existent module. The integrity of this column is not enforced in database with a foreign key because is a log table, so it makes no sense to enforce the integrity a Data Access Layer level.
Changing the reference to String and removing the 'isParent' flag triggered a change in the generated entity.
|
|
|
|
Accepted as an exception. Please go ahead with the change.
A side note: this defect should have stayed in status New until my approval. |
|
|
(0022626)
|
hgbot
|
2009-12-10 12:29
|
|
|
|
(0022637)
|
hgbot
|
2009-12-10 13:31
|
|
|
|
|
|