Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048101Retail ModulesWeb POSpublic2021-11-18 13:282021-11-24 08:30
malsasua 
ranjith_qualiantech_com 
highmajorsometimes
closedfixed 
5
 
RR22Q1 
No
0048101: clicking in "login" button, nothing is happening, and login is not done
login is not done. Clicking "login" button, nothing is happening.

it happened in the customer after one deployment that full refresh is required, and server was overloaded.

It happened in some terminals, not all terminals

The problem was solved refreshing the browser "F5"
. it is only reproducible in customer environment.
. We have reproduced it, following the below steps:
1. in the same chrome, open two tabs with the login page
2. in session1:
2.1 do login
2.2 do logout
3. quickly change to session2 tab, and click in "login" button> login is not done, nothing is happening

check video in internal note

Debugging we have found that variable isLogginIn is true, when we are clicking in "login" button

    login: function(user, password, mode, command) {
        if (this.get('isLoggingIn') === true) {
            OB.UTIL.Debug.execute(function() {
                throw 'There is already a logging process in progress';
            });
            return;
        }
        this.set('isLoggingIn', true);
        var params;
No tags attached.
related to defect 0042597 closed ranjith_qualiantech_com After click on login, returns for one second to login page 
Issue History
2021-11-18 13:28malsasuaNew Issue
2021-11-18 13:28malsasuaAssigned To => Retail
2021-11-18 13:28malsasuaTriggers an Emergency Pack => No
2021-11-19 09:16ranjith_qualiantech_comRelationship addedrelated to 0042597
2021-11-22 06:41ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-11-24 06:41hgbotNote Added: 0133312
2021-11-24 06:51ranjith_qualiantech_comStatusnew => scheduled
2021-11-24 08:30hgbotNote Added: 0133322
2021-11-24 08:30hgbotResolutionopen => fixed
2021-11-24 08:30hgbotStatusscheduled => closed
2021-11-24 08:30hgbotFixed in Version => RR22Q1
2021-11-24 08:30hgbotNote Added: 0133323

Notes
(0133312)
hgbot   
2021-11-24 06:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/304 [^]
(0133322)
hgbot   
2021-11-24 08:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/304 [^]
(0133323)
hgbot   
2021-11-24 08:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: b604918ab256292f70da8f5c1c7134aee6cda47f
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-11-24T07:30:06+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/b604918ab256292f70da8f5c1c7134aee6cda47f [^]

Fixed ISSUE-48101: ServiceWorker EventListener should receive only current POS event
* If POS is opened in 2 tabs, EventListener should receive only current POS event

---
M web/org.openbravo.mobile.core/source/offline/ob-fetch-manifest.js
M web/org.openbravo.mobile.core/source/offline/ob-sources-sw.js
---