Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037646 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2018-01-15 18:53 | 2018-01-24 14:24 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR17Q4.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | f87bcc98aa2a | ||||
Projection | none | ETA | none | Target Version | RR17Q4.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037646: LogClient should not be sent if session is not valid | |||||||
Description | Currently logclient is always sent, even if the WebPOS already detected that session is no longer valid, and that the user must log in again. This wastes network bandwidth, which can in some cases be problematic. Instead, the process should not be run if the session is not valid, and should only be restarted when the user logs in again. | |||||||
Steps To Reproduce | - Log in the WebPOS, with the "Network" tab in developer tools open. - Restart tomcat (to force session lost) - Wait some time. - At some point, the WebPOS detects that the session is lost, and shows the popup that explains the user that he needs to log in again. - Wait more time. Check the "Network" tab, and realize that the log client request is still triggered periodically. This doesn't make sense, as it wastes bandwidth without any chance of succeeding. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0101841) hgbot (developer) 2018-01-22 13:53 |
Repository: retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core Changeset: f87bcc98aa2af5adfcf17d26bd74e71dabec740e Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Mon Jan 22 13:52:24 2018 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core/rev/f87bcc98aa2af5adfcf17d26bd74e71dabec740e [^] Fixed issue 37646. LogClient request will no longer happen if session was lost. Added API to enable/disable log client process, with two main goals: -Disable the interval when session is lost, to remove unnecessary overhead -Try to prevent potential duplicate calls to the log client process --- M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js M web/org.openbravo.mobile.core/source/utils/logClientSyncUtils.js --- |
(0101923) migueldejuana (viewer) 2018-01-24 14:24 |
Tested and reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2018-01-15 18:53 | marvintm | Type | defect => backport |
2018-01-15 18:53 | marvintm | Target Version | => RR17Q4.1 |
2018-01-22 11:19 | marvintm | Assigned To | Retail => marvintm |
2018-01-22 13:53 | hgbot | Checkin | |
2018-01-22 13:53 | hgbot | Note Added: 0101841 | |
2018-01-22 13:53 | hgbot | Status | scheduled => resolved |
2018-01-22 13:53 | hgbot | Resolution | open => fixed |
2018-01-22 13:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.mobile.core/rev/f87bcc98aa2af5adfcf17d26bd74e71dabec740e [^] |
2018-01-24 14:24 | migueldejuana | Review Assigned To | => migueldejuana |
2018-01-24 14:24 | migueldejuana | Note Added: 0101923 | |
2018-01-24 14:24 | migueldejuana | Status | resolved => closed |
2018-01-24 14:24 | migueldejuana | Fixed in Version | => RR17Q4.1 |
Copyright © 2000 - 2009 MantisBT Group |