Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044729Retail ModulesWeb POSpublic2020-07-31 06:492020-08-05 15:23
rafaroda 
prakashmurugesan88 
normalmajoralways
closedfixed 
5
 
RR20Q4 
marvintm
No
0044729: WebPOS freeze while showing the Loading screen in case of connection lost during the BusinessPartner or BPLocation request
When a ticket is opened USING REMOTE CUSTOMERS = Y, 3 requests are done:
1) One to PaidReceipts to retrieve the information of the ticket
2) One to BusinessPartner to retrieve the information of the customer
3) One to BPLocation to retrieve the ifnormation of the customer location

If the connection is lost during the PaidReceipts request, the system is able to recover gracefully.

But if the connection is lost during the BusinessPartner or BPLocation requests, the WebPOS will freeze while showing the Loading screen.
Enable Remote for Customer Preference to Y

Open a Ticket using Open Receipts and turn of the connection.
Fix the behavior on BusinessPartner and BPLocation requests
NOR
? jira-generated-image-static-6a1056f9-96cf-4c1b-b448-c6b2299d794a (75,663) 2020-07-31 06:49
https://issues.openbravo.com/file_download.php?file_id=14852&type=bug
Issue History
2020-07-31 06:49rafarodaNew Issue
2020-07-31 06:49rafarodaAssigned To => Retail
2020-07-31 06:49rafarodaFile Added: jira-generated-image-static-6a1056f9-96cf-4c1b-b448-c6b2299d794a
2020-07-31 06:49rafarodaResolution time => 1597269600
2020-07-31 06:49rafarodaTriggers an Emergency Pack => No
2020-07-31 06:49rafarodaTag Attached: NOR
2020-08-03 09:04prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-08-03 15:25prakashmurugesan88Statusnew => scheduled
2020-08-04 09:50hgbotNote Added: 0121778
2020-08-04 09:51hgbotNote Added: 0121779
2020-08-05 15:23hgbotNote Added: 0121860
2020-08-05 15:23hgbotNote Added: 0121861
2020-08-05 15:23marvintmStatusscheduled => resolved
2020-08-05 15:23marvintmFixed in Version => RR20Q4
2020-08-05 15:23marvintmResolutionopen => fixed
2020-08-05 15:23marvintmReview Assigned To => marvintm
2020-08-05 15:23marvintmStatusresolved => closed

Notes
(0121778)
hgbot   
2020-08-04 09:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/42 [^]
(0121779)
hgbot   
2020-08-04 09:51   
Merge Request created: https://gitlab.com/openbravo/product/unsupported/modules/org.openbravo.retail.restaurantmanagement/-/merge_requests/1 [^]
(0121860)
hgbot   
2020-08-05 15:23   
Repository: https://gitlab.com/openbravo/product/unsupported/modules/org.openbravo.retail.restaurantmanagement [^]
Changeset: 0f9b9c7f84c8204fb412b999af0397a405e7a724
Author: Prakash <prakash@qualiantech.com>
Date: 2020-08-03T18:12:54+05:30
URL: https://gitlab.com/openbravo/product/unsupported/modules/org.openbravo.retail.restaurantmanagement/-/commit/0f9b9c7f84c8204fb412b999af0397a405e7a724 [^]

Related to BUG-44729 : Loading screen freezes when connection is lost during the BusinessPartner or BPLocation request

* When loading receipt with remote for customer = 'Y' and connection is lost during the BusinessPartner or BPLocation request, Loading screen freezes
* This is because process loadPaidReceipts and newPaidReceipt are pending to be finished.
* Fixed by adding error callback in case of errors, where pending process are finished

* Included error callback in restaurantmanagement as well

---
M web/org.openbravo.retail.restaurantmanagement/js/components/tableloaderview.js
M web/org.openbravo.retail.restaurantmanagement/js/components/tablesview.js
---
(0121861)
hgbot   
2020-08-05 15:23   
Merge request merged: https://gitlab.com/openbravo/product/unsupported/modules/org.openbravo.retail.restaurantmanagement/-/merge_requests/1 [^]