Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015559
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminoralways2010-12-31 11:472022-02-01 08:08
ReportervmromanosView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_12
OS VersionDebian 5.0Database version8.3.8Ant version1.7.0
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015559: DAL: Add support to @#Date@ as default value for a column

DescriptionRight 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 SolutionSee attached patch (please review it)
TagsNo tags attached.
Attached Filesdiff file icon dal_today.diff [^] (884 bytes) 2010-12-31 11:47 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0013601 closedvmromanos "Valid from Date" field in Organization 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker