Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035528Retail ModulesWeb POSpublic2017-03-06 12:462017-04-18 21:00
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
20Community Appliance
 
RR16Q4.3RR16Q4.3 
guilleaer
Production - Confirmed Stable
2016-01-13
RR16Q2
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df9f4b6ce7c2bfa7ec5cfa0379417e054fcf9401 [^]
No
0035528: WEBPOS Session is expired
the session is expired in WEBPOS although preference "Web POS Session Timeout" is configured with value 0
in backend
- preference "Web POS Session Timeout" -> value 0
(change the session timeout of tomcat to 1 minute):
as system administrator:
- window: AD Implementation Mapping:
 . record: Timeout
 . tab: parameter: timeout
    . change from 60 to 1
(compile and restart tomcat)

in WEBPOS:
. do login
(wait 1 minute)
. search a receipt:
message is displayed:
"The connection was restored. However, in the meantime, your session timed out. You must login again now to ensure proper synchronization. Your pending tickets will be saved."

Error: session timeout should not be expired
No tags attached.
blocks defect 0035436 closed jorge-garcia WEBPOS Session is expired 
Issue History
2017-03-15 12:50jorge-garciaTypedefect => backport
2017-03-15 12:50jorge-garciaTarget Version => RR16Q4.3
2017-03-16 13:14hgbotCheckin
2017-03-16 13:14hgbotNote Added: 0095316
2017-03-16 13:14hgbotStatusscheduled => resolved
2017-03-16 13:14hgbotResolutionopen => fixed
2017-03-16 13:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/63bad4d3013f6bb51ddb166252512190085cad1c [^] => http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.posterminal/rev/76ff86bc71bbe3b8c593918022cabc3a029c3926 [^]
2017-04-18 21:00guilleaerReview Assigned To => guilleaer
2017-04-18 21:00guilleaerStatusresolved => closed
2017-04-18 21:00guilleaerFixed in Version => RR16Q4.3

Notes
(0095316)
hgbot   
2017-03-16 13:14   
Repository: retail/backports/3.0RR16Q4.3/org.openbravo.retail.posterminal
Changeset: 76ff86bc71bbe3b8c593918022cabc3a029c3926
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Mar 16 13:14:06 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.posterminal/rev/76ff86bc71bbe3b8c593918022cabc3a029c3926 [^]

Fixed issue 35528: WEBPOS Session is expired

The solution is to reimplement a request to the backend for WebPOS session.
This request is not done if the preference sessionTimeout is set or the
preference OBPOS_SessionExpiration is set to ‘Y’.

---
M src/org/openbravo/retail/posterminal/term/Terminal.java
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---