Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035436Retail ModulesWeb POSpublic2017-03-06 12:462017-03-15 14:18
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
20Community Appliance
 
RR17Q2 
marvintm
Production - Confirmed Stable
2016-01-13
RR16Q2
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df9f4b6ce7c2bfa7ec5cfa0379417e054fcf9401 [^]
No
0035436: 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.
depends on backport 0035527RR17Q1.1 closed jorge-garcia WEBPOS Session is expired 
depends on backport 0035528RR16Q4.3 closed jorge-garcia WEBPOS Session is expired 
caused by feature request 0031803RR16Q2 closed ranjith_qualiantech_com The terminal auto-lock should have its own preference 
Issue History
2017-03-06 12:46malsasuaNew Issue
2017-03-06 12:46malsasuaAssigned To => Retail
2017-03-06 12:46malsasuaResolution time => 1489359600
2017-03-06 12:46malsasuaTriggers an Emergency Pack => No
2017-03-06 12:46malsasuaRegression level => Production - Confirmed Stable
2017-03-06 13:35eugeniIssue Monitored: eugeni
2017-03-08 10:12jorge-garciaStatusnew => scheduled
2017-03-08 10:12jorge-garciaAssigned ToRetail => jorge-garcia
2017-03-08 13:31jorge-garciaRegression date => 2016-01-13
2017-03-08 13:31jorge-garciaRegression introduced in release => RR16Q2
2017-03-08 13:31jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df9f4b6ce7c2bfa7ec5cfa0379417e054fcf9401 [^]
2017-03-08 13:32jorge-garciaRelationship addedcaused by 0031803
2017-03-15 08:58hgbotCheckin
2017-03-15 08:58hgbotNote Added: 0095013
2017-03-15 08:58hgbotStatusscheduled => resolved
2017-03-15 08:58hgbotResolutionopen => fixed
2017-03-15 08:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/63bad4d3013f6bb51ddb166252512190085cad1c [^]
2017-03-15 12:48jorge-garciaNote Added: 0095028
2017-03-15 12:48jorge-garciaStatusresolved => new
2017-03-15 12:48jorge-garciaResolutionfixed => open
2017-03-15 12:50jorge-garciaStatusnew => scheduled
2017-03-15 12:51jorge-garciaStatusscheduled => resolved
2017-03-15 12:51jorge-garciaFixed in Version => RR17Q2
2017-03-15 12:51jorge-garciaResolutionopen => fixed
2017-03-15 14:18marvintmReview Assigned To => marvintm
2017-03-15 14:18marvintmStatusresolved => closed

Notes
(0095013)
hgbot   
2017-03-15 08:58   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 63bad4d3013f6bb51ddb166252512190085cad1c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Mar 09 15:17:56 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/63bad4d3013f6bb51ddb166252512190085cad1c [^]

Fixed issue 35436: 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
---
(0095028)
jorge-garcia   
2017-03-15 12:48   
Reopened to create backports