Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030947Retail ModulesWeb POSpublic2015-09-28 11:212015-10-07 17:33
marvintm 
Retail 
normalmajoralways
closedduplicate 
5
 
 
marvintm
No
0030947: The stock validation module doesn't work correctly when the server is overloaded
The stock validation module for the Web POS does a request to the backend every time a product is added to the ticket, to check if there is stock available for it.

This request is done without an explicit timeout, which means that it will be done with the standard Enyo timeout (which is a couple of minutes). This is definitely too much for an action which in general the user expects to be immediate, and it has the bad consequence that when the server is very overloaded, adding products is really painful, and the user can easily conclude that the Web POS doesn't work.
- Overload the server, for example running very slow reports with a high amount of data.
- In the Web POS, try to add products when the stock validation module is installed. Verify that every time a product is added, the loading screen is shown, and it doesn't go away for a long time, preventing the user from executing any action.
Add a timeout to the request in modals.js file in the stock validation module. This timeout should be short, very few seconds.
No tags attached.
duplicate of defect 0031068 closed marvintm There are some problems with offline mode when the server is overloaded 
Issue History
2015-09-28 11:21marvintmNew Issue
2015-09-28 11:21marvintmAssigned To => Retail
2015-09-28 11:21marvintmTriggers an Emergency Pack => No
2015-09-28 12:46egoitzIssue Monitored: egoitz
2015-10-07 17:33marvintmReview Assigned To => marvintm
2015-10-07 17:33marvintmRelationship addedduplicate of 0031068
2015-10-07 17:33marvintmNote Added: 0080870
2015-10-07 17:33marvintmStatusnew => closed
2015-10-07 17:33marvintmResolutionopen => duplicate

Notes
(0080870)
marvintm   
2015-10-07 17:33   
This problem has been fixed as part of a general defect for the offline problems.