Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048537 | POS2 | POS | public | 2022-02-04 15:00 | 2022-02-24 15:17 |
|
Reporter | cberner | |
Assigned To | Retail | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0048537: Server timeout popup is reset by pager status check requests, and should not |
Description | Only user requests should reset the timeout period after which the session timeout popup should appear. However, any request that goes through onSucceededRequest is triggering it, a filter should be applied to allow filtering which requests are server checkup and not user started actions, which should not reset the session timeout period. |
Steps To Reproduce | 1. Login Backoffice as Vallblanca Admin group role
2. Go to Organization window and select Vallblanca Store org, then check "Terminals will check pager status" and set "Time (in minutes) to check pager server status" to 1 minute. (Screenshot provided)
3. Switch to System role and go to AD Implementation Mapping window
4. Filter and select Timeout. In parameters subtab, select timeout and set value to 5 minutes
5. Login in WebPOS and wait 3 minutes, no popup appears, and it should have appeared.
Checking network tab in developer tools, there are several successfull requests for pager, which resets the popup each minute to be launched after 3 minutes. |
Proposed Solution | Filter some requests that shouldn't trigger a reset of the session timeout. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | set pager status.png (89,119) 2022-02-04 15:00 https://issues.openbravo.com/file_download.php?file_id=16582&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2022-02-04 15:00 | cberner | New Issue | |
2022-02-04 15:00 | cberner | Assigned To | => Retail |
2022-02-04 15:00 | cberner | File Added: set pager status.png | |
2022-02-04 15:00 | cberner | OBNetwork customer | => No |
2022-02-04 15:00 | cberner | Triggers an Emergency Pack | => No |
2022-02-04 15:01 | cberner | Status | new => acknowledged |
2022-02-07 18:46 | hgbot | Merge Request Status | => open |
2022-02-07 18:46 | hgbot | Note Added: 0134816 | |
2022-02-07 18:47 | hgbot | Note Added: 0134817 | |
2022-02-09 11:18 | hgbot | Merge Request Status | open => approved |
2022-02-09 12:39 | hgbot | Resolution | open => fixed |
2022-02-09 12:39 | hgbot | Status | acknowledged => closed |
2022-02-09 12:39 | hgbot | Note Added: 0134843 | |
2022-02-09 12:39 | hgbot | Fixed in Version | => RR22Q2 |
2022-02-09 12:39 | hgbot | Note Added: 0134844 | |
2022-02-09 12:39 | hgbot | Note Added: 0134845 | |
2022-02-09 12:39 | hgbot | Note Added: 0134846 | |
2022-02-21 11:46 | hgbot | Note Added: 0135165 | |
2022-02-24 15:17 | hgbot | Note Added: 0135280 | |
Notes |
|
(0134816)
|
hgbot
|
2022-02-07 18:46
|
|
|
|
(0134817)
|
hgbot
|
2022-02-07 18:47
|
|
|
|
(0134843)
|
hgbot
|
2022-02-09 12:39
|
|
|
|
(0134844)
|
hgbot
|
2022-02-09 12:39
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 3fafe3a028773a190f54e99137c153c640ba800a
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 09-02-2022 10:03:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/3fafe3a028773a190f54e99137c153c640ba800a [^]
Fixes ISSUE-48537: Server timeout popup is reset by pager status check requests
Some requests are not launched by the user but however reset the session
timeout popup, and the backoffice user session. To fix this, mobile
service requests now will allow to include extra params, one of these
may be IsAjaxCall and ignoreForSessionTimeout. If these two are present,
both frontend and backend will ignore this for session expiration time
update.
Also sets ignoreForSessionTimeout flag on requests coming from automatic
TerminalLogLoader messages.
---
M web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/TerminalLogGenerateMessage.js
M web/org.openbravo.mobile.core/app/model/synchronization-buffer/BackendEndpoint.js
M web/org.openbravo.mobile.core/app/util/network/Request.js
---
|
|
|
(0134845)
|
hgbot
|
2022-02-09 12:39
|
|
|
|
(0134846)
|
hgbot
|
2022-02-09 12:39
|
|
|
|
(0135165)
|
hgbot
|
2022-02-21 11:46
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 5f2149482cdf25cce3681a7935ae8ae7fcc94c2f
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 21-02-2022 11:46:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/5f2149482cdf25cce3681a7935ae8ae7fcc94c2f [^]
Fixes ISSUE-48537: Server timeout popup is reset by pager status check requests
Some requests are not launched by the user but however reset the session
timeout popup, and the backoffice user session. To fix this, mobile
service requests now will allow to include extra params, one of these
may be IsAjaxCall and ignoreForSessionTimeout. If these two are present,
both frontend and backend will ignore this for session expiration time
update.
Also sets ignoreForSessionTimeout flag on requests coming from automatic
TerminalLogLoader messages.
---
M web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/TerminalLogGenerateMessage.js
M web/org.openbravo.mobile.core/app/model/synchronization-buffer/BackendEndpoint.js
M web/org.openbravo.mobile.core/app/util/network/Request.js
---
|
|
|
(0135280)
|
hgbot
|
2022-02-24 15:17
|
|
|