Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0020646 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Openbravo ERP] 00. Application dictionary | minor | always | 2012-05-30 15:43 | 2019-10-22 12:54 | |||||||
Reporter | jvazquez | View Status | public | |||||||||
Assigned To | dmiguelez | |||||||||||
Priority | none | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | pi | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0020646: Some isactive columns lack check constraint | |||||||||||
Description | There are some isactive columns that do not have the CONSTRAINT x_isactive_check CHECK (isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])). | |||||||||||
Steps To Reproduce | Go to the src-db/database/model/tables directory. Execute grep -ir ISACTIVE . and if a table has the constraint, it will appear twice - the column definition and th constraint itself. Some example of tables that will only appear once (as they don't have the constraint are: c_remmittanceline, c_order_discount, ad_module_log, c_acct_rpt_group, etc. | |||||||||||
Proposed Solution | First, create a SQL sentence that allows to clearly identify tables that do not have the constraint. Then add the constraint to resultant set of tables. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-30 15:43 | jvazquez | New Issue | |
2012-05-30 15:43 | jvazquez | Assigned To | => alostale |
2012-05-30 15:43 | jvazquez | Modules | => Core |
2012-05-30 15:45 | jvazquez | Issue Monitored: AugustoMauch | |
2012-05-30 15:52 | jvazquez | Relationship added | related to 0020647 |
2012-05-31 08:51 | alostale | Type | defect => design defect |
2012-09-10 12:50 | alostale | Assigned To | alostale => dmiguelez |
2019-10-22 12:54 | AugustoMauch | Issue End Monitor: AugustoMauch |
Copyright © 2000 - 2009 MantisBT Group |