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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046312
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSminorhave not tried2021-04-20 08:042021-04-21 10:13
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionRR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR21Q2.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelPackaging and release
Regression date2021-03-04
Regression introduced in release
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/59e0d5edb148d43136aa6c37efcfa57d033828f7 [^]
Triggers an Emergency PackNo
Summary

0046312: Context change is not properly checked in some requests

DescriptionWith 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 Reproduce1) 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 SolutionThe 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0046302 closedcaristu Context change is not properly checked in some requests 

-  Notes
(0127401)
hgbot (developer)
2021-04-20 18:11

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/215 [^]
(0127407)
hgbot (developer)
2021-04-21 10:13

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/215 [^]
(0127408)
hgbot (developer)
2021-04-21 10:13

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 895082891e7c2a289e4cc529a65d22654ce2843c
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-04-20T18:10:20+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/895082891e7c2a289e4cc529a65d22654ce2843c [^]

fixes ISSUE-46312: context is not properly checked in some requests

---
M web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js
---

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker