Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036988 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2017-10-02 19:54 | 2017-12-22 12:51 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR17Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 63cc85cee172 | ||||
Projection | none | ETA | none | Target Version | RR17Q4 | |||
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 | 0036988: There are still problems in Synchronized mode when the user refreshes the page (F5) | |||||||
Description | There are still two cases which are not working completely for me right now, when using using Synchronized mode, described in the steps to reproduce. | |||||||
Steps To Reproduce | - If I do F5 while in the middle of the processing of the order, I get the popup again (correct), but if then the OrderLoader finishes, on the next retry I get a javascript error in the console, and the receipt is not removed from the UI (wrong): 985f177adb2d112341363d73f496088d.js:3076 TypeError: Cannot read property 'get' of undefined at 985f177adb2d112341363d73f496088d.js:37250 at processResult (985f177adb2d112341363d73f496088d.js:4412); line: Object.OB.UTIL.showError (http://localhost:8080/openbravo/web/js/gen/985f177adb2d112341363d73f496088d.js:11975:6 [^] [^]) (*,+) (Related to the OB.UTIL.calculateCurrentCash function, and particularly this line: OB.Dal.findInTransaction(tx, OB.Model.PaymentMethodCashUp, { 'cashup_id': cashUp.at(0).get('id') - If I do F5 while in the middle of the processing of the order, but then I process the order while the Web POS is still loading, then the popup is shown (wrong), and it never goes away until I refresh the page again. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0099832) hgbot (developer) 2017-10-09 16:11 |
Repository: retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal Changeset: 63cc85cee172c7a1e03c0e0e1d81250f6afad21b Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Mon Oct 09 15:56:08 2017 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal/rev/63cc85cee172c7a1e03c0e0e1d81250f6afad21b [^] Fixed issue 0036988: There are still problems in Synchronized mode when the user refreshes the page (F5) - deleteOrder calls rebuildCashupFromServer, remove the created call and use deleteOrder function --- M web/org.openbravo.retail.posterminal/js/login/model/login-model.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2017-10-02 19:54 | marvintm | Type | defect => backport |
2017-10-02 19:54 | marvintm | Target Version | => RR17Q4 |
2017-10-09 16:11 | hgbot | Checkin | |
2017-10-09 16:11 | hgbot | Note Added: 0099832 | |
2017-10-09 16:11 | hgbot | Status | scheduled => resolved |
2017-10-09 16:11 | hgbot | Resolution | open => fixed |
2017-10-09 16:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal/rev/63cc85cee172c7a1e03c0e0e1d81250f6afad21b [^] |
2017-11-16 16:59 | migueldejuana | Relationship added | related to 0037313 |
2017-12-22 12:51 | marvintm | Review Assigned To | => marvintm |
2017-12-22 12:51 | marvintm | Status | resolved => closed |
2017-12-22 12:51 | marvintm | Fixed in Version | => RR17Q4 |
Copyright © 2000 - 2009 MantisBT Group |