Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0015559 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] A. Platform | minor | always | 2010-12-31 11:47 | 2022-02-01 08:08 | |||||||
Reporter | vmromanos | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_12 | |||||||
OS Version | Debian 5.0 | Database version | 8.3.8 | Ant version | 1.7.0 | |||||||
Product Version | 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 | 0015559: DAL: Add support to @#Date@ as default value for a column | |||||||||||
Description | Right now is impossible to define a default value for a column to "today" in a way that both the UI and DAL understand it. For example: -if we define the default value in the AD for a column to "SYSDATE", DAL will understand it but the UI won't do it (it will display the string SYSDATE into the field) -if we define the default value in the AD for a column to "@#Date@", the UI will understand it but the DAL won't do it (it will use null as a default value) This is a problem when both DAL and the UI use this column's default value. An example can be a new date column in the AD_ORG table, because for creating a new organization we can use the DAL through the Initial Org Setup or the UI through the Organization window | |||||||||||
Proposed Solution | See attached patch (please review it) | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | dal_today.diff [^] (884 bytes) 2010-12-31 11:47 [Show Content] | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2010-12-31 11:47 | vmromanos | New Issue | |
2010-12-31 11:47 | vmromanos | Assigned To | => alostale |
2010-12-31 11:47 | vmromanos | File Added: dal_today.diff | |
2010-12-31 11:47 | vmromanos | Modules | => Core |
2010-12-31 11:49 | vmromanos | Relationship added | blocks 0013601 |
2017-04-10 14:39 | alostale | Assigned To | alostale => platform |
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |