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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046302
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2021-04-20 08:042021-04-21 10:12
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionRR21Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0046302: 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 ]
depends on backport 0046312RR21Q2.1 closedcaristu Context change is not properly checked in some requests 
caused by feature request 0045918 closedcaristu Offline<->Online Transitions Reimplementation 
related to design defect 0046303 newRetail Review if context change check mechanism should be deleted 

-  Notes
(0127378)
hgbot (developer)
2021-04-20 08:20

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

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 0a96ab90f7faba6df29379842a84296629a8b772
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-04-21T08:03:56+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0a96ab90f7faba6df29379842a84296629a8b772 [^]

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

---
M web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js
---
(0127406)
hgbot (developer)
2021-04-21 10:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/213 [^]

- Issue History
Date Modified Username Field Change
2021-04-20 08:04 caristu New Issue
2021-04-20 08:04 caristu Assigned To => Retail
2021-04-20 08:04 caristu Triggers an Emergency Pack => No
2021-04-20 08:10 caristu Issue cloned 0046303
2021-04-20 08:10 caristu Relationship added related to 0046303
2021-04-20 08:20 hgbot Note Added: 0127378
2021-04-20 08:29 caristu Relationship added related to 0045918
2021-04-20 18:03 caristu Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/59e0d5edb148d43136aa6c37efcfa57d033828f7 [^]
2021-04-20 18:05 caristu Regression level => Packaging and release
2021-04-20 18:05 caristu Regression date => 2021-03-04
2021-04-20 18:07 caristu Status new => scheduled
2021-04-20 18:14 caristu Relationship deleted related to 0045918
2021-04-20 18:15 caristu Relationship added caused by 0045918
2021-04-21 10:12 hgbot Resolution open => fixed
2021-04-21 10:12 hgbot Status scheduled => closed
2021-04-21 10:12 hgbot Fixed in Version => RR21Q3
2021-04-21 10:12 hgbot Note Added: 0127405
2021-04-21 10:12 hgbot Note Added: 0127406
2021-04-21 10:12 alostale Assigned To Retail => caristu


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker