Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049962
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POScriticalhave not tried2022-08-05 11:052022-08-06 13:34
ReportercbernerView Statuspublic 
Assigned Toradhakrishnan 
PrioritynormalResolutionfixedFixed in Version22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelCoding ( Testing )
Regression date2022-08-02
Regression introduced in release
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b52ba0db87a0cdb4f968079cd05e9aded8c6a2bc [^]
Triggers an Emergency PackNo
Summary

0049962: Infinite loading screen on login if initial count has not been completed and a logout is performed

DescriptionIf 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 Reproduce1. 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 SolutionDo not execute OB.App.View.DialogUIHandler.askMultiOptionDialog in initialCountOnExitPopup.js if we're in the login process.
TagsNo tags attached.
Attached Filesgif file icon infinite load on login after finishing masterdata refresh.gif [^] (1,640,467 bytes) 2022-08-05 11:08

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0049658 closedradhakrishnan Retail Modules Possible to sell without having made a cash opening 

-  Notes
(0139927)
hgbot (developer)
2022-08-05 16:05

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1129 [^]
(0139934)
hgbot (developer)
2022-08-06 13:34

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1129 [^]
(0139935)
hgbot (developer)
2022-08-06 13:34

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f96cc7a9007d83f0ce06c6f064e2788057edac4d
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 06-08-2022 11:34:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f96cc7a9007d83f0ce06c6f064e2788057edac4d [^]

Fixed ISSUE-49962: Skipped InitialCountMandatory Popup
* If state doesn't have an initialCountInProgress, then InitialCountMandatory popup should be skipped
* Added initialCountInProgress in Jest test

---
M web-jspack/org.openbravo.pos2/src/components/InitialCountWindow/initialCountOnExitPopup.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SwitchToInitialCountWindow.test.js
---

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker