Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033747 | Retail Modules | Web POS | public | 2016-08-19 09:05 | 2016-08-19 10:38 | |||||||
Reporter | Orekaria | |||||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0033747: Performance: Images are always retrieved when the approvals are requested from the server | |||||||||||
Description | Images are always retrieved when the approvals are requested from the server The problem is that image data is large and has to be transferred from the server to the terminal. Large data requires network bandwidth and takes longer to be transferred. | |||||||||||
Steps To Reproduce | In a high volume context Create an approval for e.g.: delete receipts Load the WebPOS Open the developer tools, network tab In the WebPOS, perform the approval action to provoke the approval popup to be shown 1. Verify, in the developer tools, that the images are being loaded from the server 2. Verify that in the LoginUtilsServlet, the images are being attached to the response (item.put("image", imageData);) How to create approval: - http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Approvals [^] - Steps from another issue: https://issues.openbravo.com/view.php?id=33654 [^] | |||||||||||
Proposed Solution | The solution chosen should be aligned with the solution implemented in other functionalities (e.g: product images) We should load the images after the user data has been loaded (lazy loading) We should not load images every time the request is done (cache) | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-08-19 09:05 | Orekaria | New Issue | ||||||||||
2016-08-19 09:05 | Orekaria | Assigned To | => Retail | |||||||||
2016-08-19 09:05 | Orekaria | Triggers an Emergency Pack | => No | |||||||||
2016-08-19 09:05 | Orekaria | Relationship added | depends on 0033673 | |||||||||
2016-08-19 09:06 | Orekaria | Proposed Solution updated | ||||||||||
2016-08-19 09:09 | Orekaria | Description Updated | bug_revision_view_page.php?rev_id=12870#r12870 | |||||||||
2016-08-19 10:38 | shuehner | Issue Monitored: shuehner |
There are no notes attached to this issue. |