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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024934
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2013-10-11 17:132013-12-17 10:46
ReporteradrianromeroView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0MP31
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP28.2SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024934: Columns with reference Time are not displayed/stored properly

DescriptionDefine a field in postgresql of type 'timestamp without time zone' and in Openbravo define the reference of the column as 'Time'

In a window, if for example in the database the value is "2013-10-11 18:00:05" the value displayed in Openbravo is "22:00:05" but if we edit the record and change the value for example to "22:00:10", save, and reload then the value displayed is now "2:00:10" and in the database "2013-10-11 22:00:10"


This behaviour makes columns of time "Time" completely unusable.
Steps To ReproduceIn description.
Proposed SolutionIt seems that the problem is related to a bad management of time zones.

IMHO If value in database is "2013-10-11 18:00:05" it should display "18:00:05" In Openbravo and the other way the value edited in Openbravo is "18:00:05" it should store in the database "2013-10-11 18:00:05" (the date part is not important).
TagsNo tags attached.
Attached Filesdiff file icon solve_time.diff [^] (1,663 bytes) 2013-10-24 11:32 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0025274 closedAugustoMauch The time fields are not working properly 
related to defect 0020684 closedAugustoMauch Incorrect time in process request with different timezones in client/server 

-  Notes
(0061883)
mtaal (manager)
2013-10-24 11:31

The attached diff will solve the reported issue. There is another requirement to store absolute times (so the user enters 10:00 am, the database also shows 10:00 am). This is a separate topic for which a separate solution is planned to be done.
(0061966)
ioritzCia (developer)
2013-10-30 10:52

There is an End Client suffering this issue and therefore, it becomes an obps issue.

- Issue History
Date Modified Username Field Change
2013-10-11 17:13 adrianromero New Issue
2013-10-11 17:13 adrianromero Assigned To => AugustoMauch
2013-10-11 17:13 adrianromero Modules => Core
2013-10-11 17:13 adrianromero Triggers an Emergency Pack => No
2013-10-11 17:17 adrianromero Description Updated View Revisions
2013-10-11 17:17 adrianromero Steps to Reproduce Updated View Revisions
2013-10-11 17:17 adrianromero Proposed Solution updated
2013-10-24 11:30 mtaal Relationship added related to 0020684
2013-10-24 11:31 mtaal Note Added: 0061883
2013-10-24 11:32 mtaal File Added: solve_time.diff
2013-10-30 10:52 ioritzCia Note Added: 0061966
2013-11-15 10:00 xabiermerino version => 3.0MP28.2
2013-11-15 10:00 xabiermerino Target Version => 3.0MP31
2013-12-17 10:46 alostale Relationship added duplicate of 0025274
2013-12-17 10:46 alostale Status new => closed
2013-12-17 10:46 alostale Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker