Openbravo Issue Tracking System - POS2
View Issue Details
0051370POS2POSpublic2023-01-12 13:032023-02-27 14:28
lorenzofidalgo 
javierRodriguez 
immediateminoralways
closedfixed 
5
main 
23Q123Q1 
QA functional test
main
No
0051370: [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 realise 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.
blocks defect 0051353 closed javierRodriguez [23Q1] "Inactivity timeout" error shown in the Chrome developer tools console just after login POS2 
Issue History
2023-01-15 17:10javierRodriguezTypedefect => backport
2023-01-15 17:10javierRodriguezTarget Version => 23Q1
2023-01-26 19:33hgbotNote Added: 0145890
2023-01-29 17:52hgbotResolutionopen => fixed
2023-01-29 17:52hgbotStatusscheduled => closed
2023-01-29 17:52hgbotNote Added: 0145972
2023-01-29 17:52hgbotFixed in Version => 23Q1
2023-01-29 17:52hgbotNote Added: 0145973
2023-02-27 14:28lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25592#r25592

Notes
(0145890)
hgbot   
2023-01-26 19:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1484 [^]
(0145972)
hgbot   
2023-01-29 17:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1484 [^]
(0145973)
hgbot   
2023-01-29 17:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 59c672edcaeb05f160b35d203e444f0fa984fcd1
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 26-01-2023 19:31:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/59c672edcaeb05f160b35d203e444f0fa984fcd1 [^]

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

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