Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049112 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | major | have not tried | 2022-04-23 21:26 | 2022-05-17 17:58 | |||
Reporter | guilleaer | View Status | public | |||||
Assigned To | meriem_azaf | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049112: Error shown when doing login offline | |||||||
Description | Error shown when doing login offline in POS2 (see gif attached) | |||||||
Steps To Reproduce | In live builds https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^] login using vallabanca/openbravo using dev tools simulate offline Go to orders window to make POS realize about offline Now Terminal icon is red Logout Login again using vallblanca/openbravo An error is shown in the screen After press OK login offline is done and works fine | |||||||
Tags | No tags attached. | |||||||
Attached Files | Peek 2022-04-23 21-24.gif [^] (965,069 bytes) 2022-04-23 21:26 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0137047) hgbot (developer) 2022-05-06 15:28 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/745 [^] |
(0137397) hgbot (developer) 2022-05-17 17:58 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: 7277252b98ca8cd4625aba733d35fd23fa9b9aab Author: Meriem Azaf <meriem.azaf@openbravo.com> Date: 17-05-2022 17:46:32 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7277252b98ca8cd4625aba733d35fd23fa9b9aab [^] Fixes ISSUE-49112: Error shown when doing login offline. When doing login offline a pop up shown with an error related to the initializeApplication. To fix this some changes have been done in the LoginProcess initialization, to allow this flow fixed in issue 49102: - Login Online(User hasn't previously logged in) -> No masterdata refresh is required -> Terminal Data is tried to be loaded from IndexedDB, but there is none, as the user hasn't logged previously. This is fixed by loading terminal data when the user logs in online mode with a user that has no terminal data in indexeddb and a masterdata refresh is not to be performed. By default a masterdata refresh will also upload terminal data, so that's why it is not required in that case. The error of this issue was related to that change, due that in offline mode we can't perform calls to backoffice and should not do that, it is fixed by only doing this checks when doing an online login, which is the correct way of handling this part, as offline login with a user that never logged in is already unsupported. --- M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js M web-jspack/org.openbravo.core2/src/core/terminal/Terminal.js --- |
(0137398) hgbot (developer) 2022-05-17 17:58 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/745 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-04-23 21:26 | guilleaer | New Issue | |
2022-04-23 21:26 | guilleaer | Assigned To | => cberner |
2022-04-23 21:26 | guilleaer | File Added: Peek 2022-04-23 21-24.gif | |
2022-04-23 21:26 | guilleaer | Triggers an Emergency Pack | => No |
2022-04-27 16:14 | AugustoMauch | Assigned To | cberner => meriem_azaf |
2022-04-27 16:14 | AugustoMauch | Status | new => scheduled |
2022-05-06 09:37 | cberner | Relationship added | related to 0049102 |
2022-05-06 15:28 | hgbot | Note Added: 0137047 | |
2022-05-17 17:58 | hgbot | Resolution | open => fixed |
2022-05-17 17:58 | hgbot | Status | scheduled => closed |
2022-05-17 17:58 | hgbot | Note Added: 0137397 | |
2022-05-17 17:58 | hgbot | Note Added: 0137398 |
Copyright © 2000 - 2009 MantisBT Group |