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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041476
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2019-07-29 17:032019-08-19 09:45
ReporterAugustoMauchView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutioninvalidFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

0041476: API Change: Columns that use the Date reference will only store date part (and not time part) in the database

DescriptionThe current behaviour of columns that use the Date reference is the following:
- When saving a record from the ERP, the incoming date value has the YYYY-MM-DD format, and the data is stored with 00:00:00 as the time part.
- When the value is programatically set (i.e. order.setOrderDate(new Date()) ), then both the date and the time part of the given date will be stored in the database.

The proposed change is to automatically strip the time part for values used in columns that use the Date reference.

Impact: Only those flows that were programatically setting dates with a time part, and then retrieving the store date and using the time part would be affected.

Those affected should use the DateTime reference instead.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0040905 newAugustoMauch It would be fine to automatically truncate the value if the reference is date 

-  Notes
(0114063)
AugustoMauch (developer)
2019-08-19 09:45

The issue this API change was related with has been moved to design defect, will not be done in the near future

- Issue History
Date Modified Username Field Change
2019-07-29 17:03 AugustoMauch New Issue
2019-07-29 17:03 AugustoMauch Assigned To => alostale
2019-07-29 17:03 AugustoMauch Modules => Core
2019-07-29 17:03 AugustoMauch Triggers an Emergency Pack => No
2019-07-29 17:03 AugustoMauch Relationship added related to 0040905
2019-07-29 17:05 AugustoMauch Description Updated View Revisions
2019-08-19 09:45 AugustoMauch Note Added: 0114063
2019-08-19 09:45 AugustoMauch Status new => closed
2019-08-19 09:45 AugustoMauch Resolution open => invalid


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker