Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030730 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2015-09-01 19:11 | 2015-09-25 11:58 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | mario_castello | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RR15Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 1ba7e9aa75f6 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030730: The current date to check if a discount should be applied or not is taken using GMT timezone | |||||||
Description | To check if a discount should be used or not a query on the sql lite database is executed using the date('now') clause. the database is returning the current date assuming that the timezone is GMT. If you are on a different timezone, and the current date is different than the date on the gmt timezone, you can apply discounts that should't or viceversa | |||||||
Steps To Reproduce | -Put your computer (client side) on gmt+2 on hour 01:30 am -Open a webpos on chrome -open the developers tool and the resources section -go to the database and execute select date('now') that returns a date one day previous than the date of your computer | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0080360) hgbot (developer) 2015-09-12 16:26 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 1ba7e9aa75f69ac696431167c9fbb26cb0e55dbf Author: Mario Castello <mario.castello <at> peoplewalking.com> Date: Sat Sep 12 08:25:41 2015 -0600 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1ba7e9aa75f69ac696431167c9fbb26cb0e55dbf [^] Fixed issue 30730: Set the current client date as parameter with ISO format --- M web/org.openbravo.retail.posterminal/js/model/discounts.js M web/org.openbravo.retail.posterminal/js/model/executor.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2015-09-01 19:11 | egoitz | New Issue | |
2015-09-01 19:11 | egoitz | Assigned To | => Retail |
2015-09-01 19:11 | egoitz | Resolution time | => 1441317600 |
2015-09-01 19:11 | egoitz | Triggers an Emergency Pack | => No |
2015-09-12 16:22 | mario_castello | Assigned To | Retail => mario_castello |
2015-09-12 16:26 | hgbot | Checkin | |
2015-09-12 16:26 | hgbot | Note Added: 0080360 | |
2015-09-12 16:26 | hgbot | Status | new => resolved |
2015-09-12 16:26 | hgbot | Resolution | open => fixed |
2015-09-12 16:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1ba7e9aa75f69ac696431167c9fbb26cb0e55dbf [^] |
2015-09-19 10:11 | Orekaria | Review Assigned To | => marvintm |
2015-09-25 11:58 | marvintm | Status | resolved => closed |
2015-09-25 11:58 | marvintm | Fixed in Version | => RR15Q4 |
2016-11-15 17:16 | jorge-garcia | Relationship added | causes 0034517 |
Copyright © 2000 - 2009 MantisBT Group |