Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0008900 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2009-05-05 11:18 | 2011-09-07 13:36 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP0 | |||
Status | closed | Fix in branch | Fixed in SCM revision | . | ||||
Projection | none | ETA | none | Target Version | pi | |||
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 | 0008900: Inconsistencies between database default values and application dictionary default values | |||||||
Description | Apparently there is some lack of consistency in the default values. There are some columns that take default values at database level, but have no default value set at AP level. This makes causes some trouble when working with DAL, as some parameters need to be defined although it should be possible to leave them blank as they have a default value at database level. Example: qtyreserved in c_orderline. Database level: default=0. AP no default set. A first step could be to add a test to check/validate the differences in default value setting between the database and application dictionary. | |||||||
Tags | 250mp2 | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes | |
(0016122) mtaal (manager) 2009-05-07 10:23 |
Adding small remark from Antonio through email: It is possible to get the default value for a column in dbsourcemanager, you just need to do column.getDefaultValue(). |
(0016392) mtaal (manager) 2009-05-15 16:55 |
I have implemented a check in the database.validation step. There were about 20 different differences, I have reported these as issues grouped by functional group. The check is disabled until all these issues have been solved otherwise it is not possible to reenable the check. keeping this issue open until all the other newly reported issues have been solved. |
(0018426) rafaroda (developer) 2009-07-20 16:10 |
Please notice that this differences should not be taken into account (false positives): -SYSDATE (in DB) and Sysdate (in AD) are logically identical (reference to sytem date) -'Y' (in DB) and Y (in AD) are logically identical (syntax in db requires string literals to be quoted) |
(0018435) mtaal (manager) 2009-07-20 20:47 |
The check should be adapted to specifically test for this case: default value set in the DB, mandatory in AD, no default value in AD |
(0040793) mtaal (manager) 2011-09-07 13:36 |
All child issues fixed |
(0040795) mtaal (manager) 2011-09-07 13:36 |
All child issues fixed |
Issue History | |||
Date Modified | Username | Field | Change |
2009-05-05 11:18 | mtaal | New Issue | |
2009-05-05 11:18 | mtaal | Assigned To | => mtaal |
2009-05-05 11:18 | mtaal | Regression testing | => No |
2009-05-05 11:20 | mtaal | Relationship added | related to 0008899 |
2009-05-05 11:20 | mtaal | Relationship added | related to 0008897 |
2009-05-05 12:03 | psarobe | Tag Attached: 250mp2 | |
2009-05-05 12:04 | psarobe | Priority | normal => urgent |
2009-05-05 12:04 | psarobe | Status | new => scheduled |
2009-05-07 10:23 | mtaal | Note Added: 0016122 | |
2009-05-15 16:52 | mtaal | Relationship added | related to 0009050 |
2009-05-15 16:52 | mtaal | Relationship added | depends on 0009051 |
2009-05-15 16:53 | mtaal | Relationship added | related to 0009052 |
2009-05-15 16:53 | mtaal | Relationship added | related to 0009053 |
2009-05-15 16:53 | mtaal | Relationship added | related to 0009054 |
2009-05-15 16:55 | mtaal | Note Added: 0016392 | |
2009-05-15 16:55 | mtaal | Relationship replaced | depends on 0009050 |
2009-05-15 16:55 | mtaal | Relationship replaced | depends on 0009052 |
2009-05-15 16:55 | mtaal | Relationship replaced | depends on 0009053 |
2009-05-15 16:56 | mtaal | Relationship replaced | depends on 0009054 |
2009-06-10 11:51 | mtaal | Priority | urgent => normal |
2009-07-20 15:56 | rafaroda | Severity | major => minor |
2009-07-20 15:56 | rafaroda | Relationship added | related to 0009966 |
2009-07-20 16:05 | rafaroda | Relationship added | related to 0009967 |
2009-07-20 16:10 | rafaroda | Note Added: 0018426 | |
2009-07-20 20:47 | mtaal | Note Added: 0018435 | |
2011-09-07 13:36 | mtaal | Note Added: 0040793 | |
2011-09-07 13:36 | mtaal | Status | scheduled => resolved |
2011-09-07 13:36 | mtaal | Fixed in Version | => 3.0MP0 |
2011-09-07 13:36 | mtaal | Fixed in SCM revision | => . |
2011-09-07 13:36 | mtaal | Resolution | open => fixed |
2011-09-07 13:36 | mtaal | Note Added: 0040795 | |
2011-09-07 13:36 | mtaal | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |