Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028511 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2015-01-02 09:54 | 2015-02-20 13:12 | |||
Reporter | jecharri | View Status | public | |||||
Assigned To | Osmany | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 3f9ce77dda76 | ||||
Projection | none | ETA | none | Target Version | RR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028511: Ugly errors if the currency conversion rate is not defined | |||||||
Description | Ugly errors if the currency conversion rate is not defined | |||||||
Steps To Reproduce | -remove the conversion rates between USD and EUR for today -login to Web POS (white valley sample data has one payment for USD) -try to pay with this payment type -verify a red ugly message in top of the window. Also after that error If I refresh the window Web POS keeps in loading and it is not possible to logout | |||||||
Proposed Solution | -Show a popup and don't allow to login if the problem exists | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0073837) hgbot (developer) 2015-01-27 20:49 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: c5e54b699b31973c93b3f5e97cb9dcc6b519cca1 Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com> Date: Tue Jan 27 13:48:47 2015 -0600 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c5e54b699b31973c93b3f5e97cb9dcc6b519cca1 [^] Fixed issue 28511: Ugly errors if the currency conversion rate is not defined. --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0073838) hgbot (developer) 2015-01-27 20:51 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 2276083d95c6eb29910121662a125b23fac93f26 Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com> Date: Tue Jan 27 13:51:02 2015 -0600 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2276083d95c6eb29910121662a125b23fac93f26 [^] Fixed issue 28511: Ugly errors if the currency conversion rate is not defined. --- M web/org.openbravo.retail.posterminal/js/login/model/login-model.js --- |
(0073977) Orekaria (viewer) 2015-02-02 11:57 |
The fix for the issue have some non-desirable consecuences: - the check to if the paymentMethod is not defined should always be avoided because the paymentMethods should always be correct - the action performed if the paymentMethod is not defined should be customized for the issue Suggested solution: - verify if the conversion is set. If is not set, show a message in the WebPOS Suggested howtos: - backout the changes - add, in the 'InitialValidations.java' class, a check that verifies if the paymentMethods are correctly set (in this case, if a currency conversion is present). If the verification fails, fire a JSONException - in posterminal, add the definition of the message fired in the JSONException exception |
(0074007) hgbot (developer) 2015-02-02 22:26 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: b8b46c216fbb97017b92d0c6b06b0dfd69ea7dc0 Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com> Date: Mon Feb 02 15:26:00 2015 -0600 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b8b46c216fbb97017b92d0c6b06b0dfd69ea7dc0 [^] Fixed issue 28511: Ugly errors if the currency conversion rate is not defined. --- M src-db/database/sourcedata/AD_MESSAGE.xml M src/org/openbravo/retail/posterminal/InitialValidations.java M src/org/openbravo/retail/posterminal/POSUtils.java M web/org.openbravo.retail.posterminal/js/login/model/login-model.js --- |
(0074008) hgbot (developer) 2015-02-02 22:38 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 5468d1251b12459e9aae712550bae613bc3c1a3a Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com> Date: Mon Feb 02 15:38:00 2015 -0600 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5468d1251b12459e9aae712550bae613bc3c1a3a [^] Fixed issue 28511: Ugly errors if the currency conversion rate is not defined. --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0074512) migueldejuana (viewer) 2015-02-16 15:21 |
It doesn't work when we do not have a conversion rate in the actual date, we should check conversion rate's from/to. I didn't test but it seems that it doesn't work with more than one foreign currency, we just check if we have more than 0 payments, but if we have USD and another currency to convert we should check that payments = 2. |
(0074686) hgbot (developer) 2015-02-20 02:06 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 3f9ce77dda76e8b171f58552db6a20f7dce56da9 Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com> Date: Thu Feb 19 19:05:44 2015 -0600 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3f9ce77dda76e8b171f58552db6a20f7dce56da9 [^] Fixed issue 28511: Adding other function at query. --- M src/org/openbravo/retail/posterminal/POSUtils.java --- |
(0074707) migueldejuana (viewer) 2015-02-20 13:12 |
Tested and reviewed in c7a4bad4d3c1 |
![]() |
|||
Date Modified | Username | Field | Change |
2015-01-02 09:54 | jecharri | New Issue | |
2015-01-02 09:54 | jecharri | Assigned To | => marvintm |
2015-01-02 09:54 | jecharri | OBNetwork customer | => Yes |
2015-01-02 09:54 | jecharri | Resolution time | => 1423090800 |
2015-01-02 09:54 | jecharri | Triggers an Emergency Pack | => No |
2015-01-02 09:55 | jecharri | Target Version | => RR15Q2 |
2015-01-19 17:10 | Osmany | Assigned To | marvintm => Osmany |
2015-01-27 20:49 | hgbot | Checkin | |
2015-01-27 20:49 | hgbot | Note Added: 0073837 | |
2015-01-27 20:49 | hgbot | Status | new => resolved |
2015-01-27 20:49 | hgbot | Resolution | open => fixed |
2015-01-27 20:49 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c5e54b699b31973c93b3f5e97cb9dcc6b519cca1 [^] |
2015-01-27 20:51 | hgbot | Checkin | |
2015-01-27 20:51 | hgbot | Note Added: 0073838 | |
2015-01-27 20:51 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c5e54b699b31973c93b3f5e97cb9dcc6b519cca1 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2276083d95c6eb29910121662a125b23fac93f26 [^] |
2015-02-02 11:57 | Orekaria | Note Added: 0073977 | |
2015-02-02 11:57 | Orekaria | Status | resolved => new |
2015-02-02 11:57 | Orekaria | Resolution | fixed => open |
2015-02-02 22:26 | hgbot | Checkin | |
2015-02-02 22:26 | hgbot | Note Added: 0074007 | |
2015-02-02 22:26 | hgbot | Status | new => resolved |
2015-02-02 22:26 | hgbot | Resolution | open => fixed |
2015-02-02 22:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2276083d95c6eb29910121662a125b23fac93f26 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b8b46c216fbb97017b92d0c6b06b0dfd69ea7dc0 [^] |
2015-02-02 22:38 | hgbot | Checkin | |
2015-02-02 22:38 | hgbot | Note Added: 0074008 | |
2015-02-02 22:38 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b8b46c216fbb97017b92d0c6b06b0dfd69ea7dc0 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5468d1251b12459e9aae712550bae613bc3c1a3a [^] |
2015-02-16 15:21 | migueldejuana | Note Added: 0074512 | |
2015-02-16 15:21 | migueldejuana | Status | resolved => new |
2015-02-16 15:21 | migueldejuana | Resolution | fixed => open |
2015-02-20 02:06 | hgbot | Checkin | |
2015-02-20 02:06 | hgbot | Note Added: 0074686 | |
2015-02-20 02:06 | hgbot | Status | new => resolved |
2015-02-20 02:06 | hgbot | Resolution | open => fixed |
2015-02-20 02:06 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5468d1251b12459e9aae712550bae613bc3c1a3a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3f9ce77dda76e8b171f58552db6a20f7dce56da9 [^] |
2015-02-20 13:12 | migueldejuana | Review Assigned To | => migueldejuana |
2015-02-20 13:12 | migueldejuana | Note Added: 0074707 | |
2015-02-20 13:12 | migueldejuana | Status | resolved => closed |
2015-05-12 15:56 | adrianromero | Relationship added | related to 0029852 |
Copyright © 2000 - 2009 MantisBT Group |