Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033747
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2016-08-19 09:052016-08-19 10:38
ReporterOrekariaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033747: Performance: Images are always retrieved when the approvals are requested from the server

DescriptionImages 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 ReproduceIn 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 SolutionThe 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0033673 closedmario_castello slow population of approvals popup 

-  Notes
There are no notes attached to this issue.

- 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 View Revisions
2016-08-19 10:38 shuehner Issue Monitored: shuehner


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker