Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046312 | Retail Modules | Web POS | public | 2021-04-20 08:04 | 2021-04-21 10:13 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR21Q2.1 | Fixed in Version | RR21Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | Packaging and release |
Regression date | 2021-03-04 |
Regression introduced in release | |
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/59e0d5edb148d43136aa6c37efcfa57d033828f7 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0046312: Context change is not properly checked in some requests |
Description | With every backend request, it is checked whether the current context (client, org, user, role) has changed. If changed, a confirmation is shown to the user in order to log in again.
This check is being wrongly skipped in some backend requests. |
Steps To Reproduce | 1) Put a breakpoint here[1]. This is the place where the context check is skipped when it is not possible to get the information.
2) Log in in WebPOS.
3) Note that we are skipping the check in some requests although they contain context information
[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js#L72 [^] |
Proposed Solution | The context info is not being recovered properly in some requests, this is because we are recovering it from the "contextInfo" property of the response object and in some requests it comes inside "response.contextInfo" property instead |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0046302 | | closed | caristu | Context change is not properly checked in some requests |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-04-20 18:07 | caristu | Type | defect => backport |
2021-04-20 18:07 | caristu | Target Version | => RR21Q2.1 |
2021-04-20 18:11 | hgbot | Note Added: 0127401 | |
2021-04-21 10:12 | alostale | Assigned To | Retail => caristu |
2021-04-21 10:13 | hgbot | Resolution | open => fixed |
2021-04-21 10:13 | hgbot | Status | scheduled => closed |
2021-04-21 10:13 | hgbot | Note Added: 0127407 | |
2021-04-21 10:13 | hgbot | Fixed in Version | => RR21Q2 |
2021-04-21 10:13 | hgbot | Note Added: 0127408 | |