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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012003
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajoralways2010-01-19 11:302022-02-01 08:09
ReportermtaalView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionout of dateFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012003: Improve handling of default values in the DAL: use the default values which use context information

DescriptionThe DAL currently does not make use of the default values which use context information from VariablesSecureApp or sql queries. There are however possibilities to implement this:

First the DAL needs access to the window_id and variablesecureapp:
- the OBContext is put in a threadlocal when the request starts
… the variablessecureapp and window_id can also be placed in a threadlocal there (depends if the window_id is session var or a request param, in the last case it can not always be just taken from the request, considering multi-part and file upload requests)
- the BaseOBObject constructor should be extended to set the default values using the variablessecureapp/window id in the
- then when a new BaseOBObject is created this constructor sets the default values.

The logic needs to take into account the default values definition with SQL= also.

Note the above logic does not work correctly for test cases as there is variablesecureapp in that environment.

gr. Martin
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-01-19 11:30 mtaal New Issue
2010-01-19 11:30 mtaal Assigned To => mtaal
2010-01-19 11:32 mtaal Status new => scheduled
2016-10-21 11:05 mtaal Status scheduled => closed
2016-10-21 11:05 mtaal Resolution open => out of date
2016-10-21 13:17 mtaal Tag Attached: MT_closed_out_of_date
2016-10-21 14:08 mtaal Assigned To mtaal => platform
2016-10-21 14:09 mtaal Status closed => new
2016-10-21 14:14 mtaal Tag Detached: MT_closed_out_of_date
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker