Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0047435 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2021-07-22 09:17 | 2021-07-26 09:27 | |||
Reporter | migueldejuana | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q4 | |||
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 | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | adrianromero | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0047435: Avoid asking to Login again if we are in a middle of a process | |||||||
Description | If we do a request and the response es 401 because the session is not valid, we show Login Again popup and we can logout. If we are in the middle of a process and we do logout, we can have bugs. Example: We are processing an order and before pressing Done, the server is restarted. In preOrderSave hook a module does a request to backend and we get 401 response, so the Login Again popup is shown and we can press Login Again. We will do logout and the complete ticket has not finished yet. It should not be errors but we should avoid doing this because is risky and could cause bugs if we take into account the differente implementation in clients. | |||||||
Steps To Reproduce | n/a | |||||||
Proposed Solution | Launch login again popup just if there are no processes in execution | |||||||
Tags | NOR | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0130685) hgbot (developer) 2021-07-22 09:23 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/263 [^] |
(0130745) hgbot (developer) 2021-07-26 09:27 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 3714c37876029f853c481ac5749e5e8e580b79e8 Author: Miguel de Juana <miguel.dejuana@openbravo.com> Date: 2021-07-22T15:17:27+02:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/3714c37876029f853c481ac5749e5e8e580b79e8 [^] Fixed ISSUE-47435: Avoid asking to Login again if we are in a middle of a process - We remove if else when response is 401, we will have an if for 401 case and else will be execute always (unless we do return) - Login Again popup won't be launch if there are processes in execution to avoid breaking flows and causing bugs --- M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js --- |
(0130746) hgbot (developer) 2021-07-26 09:27 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/263 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-07-22 09:17 | migueldejuana | New Issue | |
2021-07-22 09:17 | migueldejuana | Assigned To | => migueldejuana |
2021-07-22 09:17 | migueldejuana | OBNetwork customer | => No |
2021-07-22 09:17 | migueldejuana | Triggers an Emergency Pack | => No |
2021-07-22 09:17 | migueldejuana | Status | new => scheduled |
2021-07-22 09:18 | migueldejuana | Review Assigned To | => adrianromero |
2021-07-22 09:23 | hgbot | Merge Request Status | => open |
2021-07-22 09:23 | hgbot | Note Added: 0130685 | |
2021-07-22 23:18 | rafaroda | Tag Attached: NOR | |
2021-07-26 08:22 | hgbot | Merge Request Status | open => approved |
2021-07-26 09:27 | hgbot | Resolution | open => fixed |
2021-07-26 09:27 | hgbot | Status | scheduled => closed |
2021-07-26 09:27 | hgbot | Fixed in Version | => RR21Q4 |
2021-07-26 09:27 | hgbot | Note Added: 0130745 | |
2021-07-26 09:27 | hgbot | Note Added: 0130746 |
Copyright © 2000 - 2009 MantisBT Group |