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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035457
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash upmajoralways2017-03-09 07:392017-03-24 11:52
Reporterprakashmurugesan88View Statuspublic 
Assigned Tomario_castello 
PriorityurgentResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revision82d0fee6b2a2
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035457: [SER-QA 2533] Wrong Cashup date if the server and browser time zones are different

DescriptionConsider following scenario in live builds and user in India, where the server and the browser have different time zone.

In live builds user from India logged in for the first time and opened till.
In back end following is the cashup date
        Local time : 09-03-2017 11:43:29
    cashupdate : 09-03-2017 11:43:29
Refer image OpenedTill.png.
Same as local time and it is correct.

Immediately the user did cashup.
In back end following is the cashup date,
        Local time : 09-03-2017 11:44:57
    cashupdate : 09-03-2017 16:14:57
 
There is time difference of +4:30hrs.
This is nothing but time zone difference between India and Live Builds.
Refer image AfterCashup.png.
Steps To ReproduceAccess live builds from a browser that has different time zone than live builds.

Login to webpos.
Do cashup.
Check cashup date in backend.
Compare with local time.
It will not be the same as local time.
Cashup date will be past/future based on time zone difference with live builds.
TagsSER-QA
Attached Filespng file icon OpenedTill.png [^] (43,189 bytes) 2017-03-09 07:39


png file icon AfterCashup.png [^] (46,220 bytes) 2017-03-09 07:40

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0095509)
hgbot (developer)
2017-03-22 15:58

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: de3a8cbcf49bd203eadbe381eddcb55e8b9c17e8
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Mar 17 11:03:25 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/de3a8cbcf49bd203eadbe381eddcb55e8b9c17e8 [^]

Related to issue 35457: [SER-QA 2533] Wrong Cashup date if the server and browser time zones are different

- Create new function calculateServerDatetime to get the Server DateTime based in the client DateTime

---
M src/org/openbravo/mobile/core/utils/OBMOBCUtils.java
---
(0095510)
hgbot (developer)
2017-03-22 16:06

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 82d0fee6b2a2a891383ccda55440652d741446c8
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Mar 17 11:03:50 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/82d0fee6b2a2a891383ccda55440652d741446c8 [^]

Fixed issue 35457: [SER-QA 2533] Wrong Cashup date if the server and browser time zones are different

- Call the function calculateServerDatetime to get the Server DateTime

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---

- Issue History
Date Modified Username Field Change
2017-03-09 07:39 prakashmurugesan88 New Issue
2017-03-09 07:39 prakashmurugesan88 Assigned To => Retail
2017-03-09 07:39 prakashmurugesan88 File Added: OpenedTill.png
2017-03-09 07:39 prakashmurugesan88 Triggers an Emergency Pack => No
2017-03-09 07:40 prakashmurugesan88 File Added: AfterCashup.png
2017-03-09 07:40 prakashmurugesan88 Summary Wrong Cashup date if the server and browser time zones different => Wrong Cashup date if the server and browser time zones are different
2017-03-09 07:42 prakashmurugesan88 Description Updated View Revisions
2017-03-09 09:13 adrianromero Resolution time => 1490223600
2017-03-09 09:13 adrianromero Summary Wrong Cashup date if the server and browser time zones are different => [SER-QA 2533] Wrong Cashup date if the server and browser time zones are different
2017-03-09 09:13 adrianromero Tag Attached: SER-QA
2017-03-09 09:14 adrianromero Priority normal => urgent
2017-03-10 21:40 mario_castello Assigned To Retail => mario_castello
2017-03-10 21:40 mario_castello Status new => acknowledged
2017-03-10 21:40 mario_castello Status acknowledged => scheduled
2017-03-22 15:58 hgbot Checkin
2017-03-22 15:58 hgbot Note Added: 0095509
2017-03-22 16:06 hgbot Checkin
2017-03-22 16:06 hgbot Note Added: 0095510
2017-03-22 16:06 hgbot Status scheduled => resolved
2017-03-22 16:06 hgbot Resolution open => fixed
2017-03-22 16:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/82d0fee6b2a2a891383ccda55440652d741446c8 [^]
2017-03-24 11:52 marvintm Review Assigned To => marvintm
2017-03-24 11:52 marvintm Status resolved => closed
2017-03-24 11:52 marvintm Fixed in Version => RR17Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker