Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031057Retail ModulesWeb POSpublic2015-10-02 12:402015-10-26 09:57
plujan 
marvintm 
normalmajorhave not tried
closedfixed 
5
main 
RR15Q4RR15Q4 
guilleaer
No
0031057: [RR15Q4] [StockValidationModule] Stock validation does not detect if webPOS is online or offline
While creating receipts having the Stock Validation module installed, every time I add a new product a request to the server is made to check whether there is stock or not.
However, if the online/offline status change during this process, it is not detected. See steps.
A. [Correct scenario] Full online flow
1. Login (online) in webPOS as vallblanca user
2. Add a new product to a ticket
3. Check that a request is made to the server to verify there is enough stock
4. The product is added and you can continue the process

B. [Correct scenario] Full offline flow
1. Unplug the network cable and login (offline) in webPOS as vallblanca user
2. Add a new product to a ticket
3. Check a warning message is shown, since the communication with the server is not possible
4. The product is added and you can continue the process

C. [Incorrect scenario] Partial offline flow
1. Unplug the network cable and login (offline) in webPOS as vallblanca user
2. Plug the cable to get connection back
3. Add a new product to a ticket
3. Check a warning message is shown, although connection with the server should be possible
4. The product is added and you can continue the process

D. [Incorrect scenario] Partial online flow
1. Login (online) in webPOS as vallblanca user
2. Unplug the network cable to go offline
3. Add a new product to a ticket
4. An error message is shown and the system freezes at the Loading window (see attach)
5. You cannot continue
No tags attached.
related to defect 0031505 new Retail [RR15Q4] [StockValidationModule] POS ejects user under certains circunstances with unstable connections 
blocks defect 0031027 closed migueldejuana [RR15Q4] [StockValidationModule] Stock validation does not detect if webPOS is online or offline 
Issue History
2015-10-06 11:09migueldejuanaTypedefect => backport
2015-10-06 11:09migueldejuanaTarget Version => RR15Q4
2015-10-22 10:59hgbotCheckin
2015-10-22 10:59hgbotNote Added: 0081192
2015-10-22 10:59hgbotStatusscheduled => resolved
2015-10-22 10:59hgbotResolutionopen => fixed
2015-10-22 10:59hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.mobile.core/rev/a8673e7b15d749d56c3019a189275d61dbb2dea4 [^]
2015-10-22 11:39marvintmAssigned Tomigueldejuana => marvintm
2015-10-26 09:57guilleaerReview Assigned Tomarvintm => guilleaer
2015-10-26 09:57guilleaerNote Added: 0081296
2015-10-26 09:57guilleaerStatusresolved => closed
2015-10-26 09:57guilleaerFixed in Version => RR15Q4
2015-11-16 15:33lorenzofidalgoRelationship addedrelated to 0031505

Notes
(0081192)
hgbot   
2015-10-22 10:59   
Repository: retail/backports/3.0RR15Q4/org.openbravo.mobile.core
Changeset: a8673e7b15d749d56c3019a189275d61dbb2dea4
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Oct 22 10:58:55 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.mobile.core/rev/a8673e7b15d749d56c3019a189275d61dbb2dea4 [^]

Fixed issue 31057. [RR15Q4] [StockValidationModule] Stock validation does not detect if webPOS is online or offline

Handle 401 error in FailOver service type

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0081296)
guilleaer   
2015-10-26 09:57   
Working fine