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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028436
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformmajoralways2014-12-17 11:442014-12-17 11:45
ReportercaristuView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0PR14Q3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028436: Web services does not convert the date, time and datetime columns to the timezone of the client when returning the results

DescriptionWeb services does not convert the date, time and datetime columns to the timezone of the client where they are executed.
When saving data on the application, the date is saved with converted to the timezone of the server. This date is converted to the timezone of the client when accessing to the data on the application.

When receiving the result of a web service call, the behavior is different, the date is not converted and is received with the timezone of the client.
Steps To Reproduce1) Having the client in a different timezone of the server, make an update trough web services, for example using the following: http://<server_address>/openbravo/org.openbravo.service.json.jsonrest/Product [^]

  with the attached data

2) Notice that the web service return the "updated" field with the server timezone
Proposed SolutionA possible solution could be to include a param in the web service call, to specify the client timezone. The date, time and datetime values will be returned converted with that timezone.
TagsNo tags attached.
Attached Filestxt file icon wsData.txt [^] (127 bytes) 2014-12-17 11:45 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0022022 newAugustoMauch The reports does not convert the date, time and datetime columns to the timezone of the client where they are executed 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-12-17 11:44 caristu New Issue
2014-12-17 11:44 caristu Assigned To => AugustoMauch
2014-12-17 11:44 caristu Modules => Core
2014-12-17 11:44 caristu Triggers an Emergency Pack => No
2014-12-17 11:44 caristu Relationship added related to 0022022
2014-12-17 11:46 caristu File Added: wsData.txt


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker