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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028241
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2014-11-20 17:252014-11-21 12:12
ReportermarvintmView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision79729b9512d0
ProjectionnoneETAnoneTarget VersionRR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - QA Approved
Regression date2014-09-09
Regression introduced in releaseRR14Q3.1
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/03b3c1d9a4cc [^]
Triggers an Emergency PackNo
Summary

0028241: Context change detection doesn't work anymore

DescriptionThe Web POS checks for the context information (client, organization, role, user) every time a request to the backend is done, and if it detects that the context changed in the session, it forces the user to relogin to avoid the creation of wrong data.

This check doesn't work anymore, due to a recent change in the ob-datasource functionality.
Steps To Reproduce- Log in the web pos.
- Open another tab in the browser, and log in the erp.
- Change the context in the erp (change the organization, for example, or the role).
- Create a ticket in the web pos.

In this case, the Web POS should detect that the context changed and should show a popup. However, this doesn't happen.
Proposed SolutionThe context change should be checked at the beginning of the response processing, instead of doing it only when there is an error.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0028186 newmarvintm Stabilization: An improper error is raised when, logged in the ERP, the user navigates to the WebPOS 
depends on defect 0028185RR14Q3.1 closedOrekaria When the backend throws an 'JSONException' the mobile application wrongly performs a logout 
caused by defect 0027554 closedOrekaria When switching from backend to WebPOS first an error is shown and then the login page is shown 

-  Notes
(0071875)
hgbot (developer)
2014-11-21 11:10

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 79729b9512d082aae914c25fce5c96b7cc1087f7
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Nov 21 11:09:59 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/79729b9512d082aae914c25fce5c96b7cc1087f7 [^]

Fixes issue 28241: The context change check is done at the beginning of the response port-processing

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---

- Issue History
Date Modified Username Field Change
2014-11-20 17:25 marvintm New Issue
2014-11-20 17:25 marvintm Assigned To => Orekaria
2014-11-20 17:25 marvintm Regression level => Production - QA Approved
2014-11-20 17:25 marvintm Regression date => 2014-09-09
2014-11-20 17:25 marvintm Regression introduced in release => RR14Q3.1
2014-11-20 17:25 marvintm Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/03b3c1d9a4cc [^]
2014-11-20 17:25 marvintm Triggers an Emergency Pack => No
2014-11-20 17:28 Orekaria Relationship added related to 0028185
2014-11-20 17:29 Orekaria Relationship added related to 0027554
2014-11-20 17:32 Orekaria Relationship added related to 0028186
2014-11-20 17:33 Orekaria Relationship replaced has duplicate 0028185
2014-11-20 17:34 Orekaria Relationship replaced depends on 0028185
2014-11-20 17:35 Orekaria Relationship replaced caused by 0027554
2014-11-21 11:10 hgbot Checkin
2014-11-21 11:10 hgbot Note Added: 0071875
2014-11-21 11:10 hgbot Status new => resolved
2014-11-21 11:10 hgbot Resolution open => fixed
2014-11-21 11:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/79729b9512d082aae914c25fce5c96b7cc1087f7 [^]
2014-11-21 12:12 marvintm Review Assigned To => marvintm
2014-11-21 12:12 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker