Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049962 | POS2 | POS | public | 2022-08-05 11:05 | 2022-08-06 13:34 |
|
Reporter | cberner | |
Assigned To | radhakrishnan | |
Priority | normal | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 22Q4 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | Coding ( Testing ) |
Regression date | 2022-08-02 |
Regression introduced in release | |
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b52ba0db87a0cdb4f968079cd05e9aded8c6a2bc [^] |
Triggers an Emergency Pack | No |
|
Summary | 0049962: Infinite loading screen on login if initial count has not been completed and a logout is performed |
Description | If there is an initial count pending, and we logout, on the next login the application doesn't load, it is in an infinite "Forcing refresh of local database..." state, which doesn't end until you refresh the application and will happen again if you logout and login without completing the initial count.
The problem seems to be that in file initialCountOnExitPopup.js in pos2 module we are awaiting this: OB.App.View.DialogUIHandler.askMultiOptionDialog
This is not present when we login, as the dialog .jsx has not been registered or started yet, that means will await the dialog and will never show it, leaving the application in a frozen state. We should not show the dialog if we're on the login screen/process. |
Steps To Reproduce | 1. Open WebPOS and login
2. Complete a cashup or clear site data(as shown in attached gif)
3. Login again, but do not finish the initial count. Logout without finishing the initial count.
4. Login again, see that it is frozen in Forcing refresh of local database... state. |
Proposed Solution | Do not execute OB.App.View.DialogUIHandler.askMultiOptionDialog in initialCountOnExitPopup.js if we're in the login process. |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | defect | 0049658 | | closed | radhakrishnan | Retail Modules | Possible to sell without having made a cash opening |
|
Attached Files | infinite load on login after finishing masterdata refresh.gif (1,640,467) 2022-08-05 11:08 https://issues.openbravo.com/file_download.php?file_id=17385&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2022-08-05 11:05 | cberner | New Issue | |
2022-08-05 11:05 | cberner | Assigned To | => Retail |
2022-08-05 11:05 | cberner | Regression level | => Coding ( Testing ) |
2022-08-05 11:05 | cberner | Regression date | => 2022-07-15 |
2022-08-05 11:05 | cberner | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b52ba0db87a0cdb4f968079cd05e9aded8c6a2bc [^] |
2022-08-05 11:05 | cberner | Triggers an Emergency Pack | => No |
2022-08-05 11:05 | cberner | Relationship added | caused by 0049658 |
2022-08-05 11:08 | cberner | File Added: infinite load on login after finishing masterdata refresh.gif | |
2022-08-05 11:24 | cberner | Regression date | 2022-07-15 => 2022-08-02 |
2022-08-05 11:30 | marvintm | Status | new => scheduled |
2022-08-05 11:30 | marvintm | Assigned To | Retail => radhakrishnan |
2022-08-05 16:05 | hgbot | Note Added: 0139927 | |
2022-08-06 13:34 | hgbot | Resolution | open => fixed |
2022-08-06 13:34 | hgbot | Status | scheduled => closed |
2022-08-06 13:34 | hgbot | Note Added: 0139934 | |
2022-08-06 13:34 | hgbot | Fixed in Version | => 22Q4 |
2022-08-06 13:34 | hgbot | Note Added: 0139935 | |