Openbravo Issue Tracking System - POS2
View Issue Details
0051353POS2POSpublic2023-01-12 13:032023-01-26 13:26
lorenzofidalgo 
javierRodriguez 
immediateminoralways
closedfixed 
5
main 
23Q2 
QA functional test
main
No
0051353: [23Q1] "Inactivity timeout" error shown in the Chrome developer tools console just after login POS2
En error is shown in the Chrome developer tools console without the need of user actions. Just login POS2 and the error will be shown.

POS2.js:84 Error Inactivity timeout: ticket timeout is trying to subscribe with -60. Seconds should be > 0; line: Object.subscribe (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/2.0144ff0a.chunk.js:1:149850 [^])

This issue can also be reproduced if, once the user has logged in, a refresh (F5) is executed.
0-Login POS2 as vallblanca.
1-Open Chrome developer tools (F12) and release there is an error shown with the following message:

POS2.js:84 Error Inactivity timeout: ticket timeout is trying to subscribe with -60. Seconds should be > 0; line: Object.subscribe (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/2.0144ff0a.chunk.js:1:149850 [^])
No tags attached.
related to feature request 0050363 closed javierRodriguez Add timer to do action to the order when the application detects inactivity. 
depends on backport 005137023Q1 closed javierRodriguez [23Q1] "Inactivity timeout" error shown in the Chrome developer tools console just after login POS2 
png POS2Regression.png (62,736) 2023-01-12 13:03
https://issues.openbravo.com/file_download.php?file_id=18025&type=bug
png
Issue History
2023-01-12 13:03lorenzofidalgoNew Issue
2023-01-12 13:03lorenzofidalgoAssigned To => Retail
2023-01-12 13:03lorenzofidalgoFile Added: POS2Regression.png
2023-01-12 13:03lorenzofidalgoRegression level => QA functional test
2023-01-12 13:03lorenzofidalgoRegression introduced in release => main
2023-01-12 13:03lorenzofidalgoTriggers an Emergency Pack => No
2023-01-12 13:06lorenzofidalgoRelationship addedrelated to 0050363
2023-01-12 13:11lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=25381#r25381
2023-01-15 17:03javierRodriguezAssigned ToRetail => javierRodriguez
2023-01-15 17:03javierRodriguezStatusnew => scheduled
2023-01-15 17:04javierRodriguezStatusscheduled => acknowledged
2023-01-15 17:10javierRodriguezStatusacknowledged => scheduled
2023-01-16 12:12hgbotNote Added: 0145449
2023-01-26 13:26hgbotResolutionopen => fixed
2023-01-26 13:26hgbotStatusscheduled => closed
2023-01-26 13:26hgbotNote Added: 0145867
2023-01-26 13:26hgbotFixed in Version => 23Q2
2023-01-26 13:26hgbotNote Added: 0145868

Notes
(0145449)
hgbot   
2023-01-16 12:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1466 [^]
(0145867)
hgbot   
2023-01-26 13:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1466 [^]
(0145868)
hgbot   
2023-01-26 13:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: e1b9013015986df35ea56d7f8d7f7399d8d9daf0
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 26-01-2023 12:22:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/e1b9013015986df35ea56d7f8d7f7399d8d9daf0 [^]

Fixed ISSUE-51353: Skip inactivity timeout subscription if seconds are not correclty configured

---
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
---