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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047719
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajoralways2021-09-20 13:022021-09-28 14:32
ReporterjarmendarizView Statuspublic 
Assigned Tojarmendariz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047719: Background incremental Masterdata refresh should not be executed when logged out

DescriptionAfter a login and a logout in a mobile application, a timer that triggers the incremental Masterdata refresh in a given interval will still be executed, resulting in unnecesary requests to the backoffice that always returns error 401.
Steps To ReproduceIn backoffice, switch to "White valley group admin"

- Open "Touchpoint type" window and look for "POS2SD VBS POS2 Terminal Type"
- Update "Time to Incrementally Refresh Masterdata (in minutes)" to 1
- Update "Time to force masterdata refresh on inactivity (in minutes)" to 1

Then, open POS2 with VBS-2 terminal:

- Login
- Logout

Notice in the network tab in developer tools that a MasterDataLoader request is being executed every minute and always returns 401.
Proposed SolutionBackground masterdata incremental refresh timer should be stopped on logout.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047655 closedprakashmurugesan88 JIRA 2305 - Update database in background - Info message appears several times 

-  Notes
(0131964)
hgbot (developer)
2021-09-21 17:44

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/636 [^]
(0131973)
hgbot (developer)
2021-09-22 13:54

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/686 [^]
(0132043)
hgbot (developer)
2021-09-28 14:32

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f3b1f0298a352f5c5dc26f3b88b5a0be78284636
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 2021-09-28T14:31:02+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f3b1f0298a352f5c5dc26f3b88b5a0be78284636 [^]

Related to ISSUE-47719: Refactoring and simplifying failing tests that used Logout user action

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/AbortInitialCount.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/FinishCashupUserAction.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/finishCashupUi.js
---
(0132044)
hgbot (developer)
2021-09-28 14:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/686 [^]
(0132045)
hgbot (developer)
2021-09-28 14:32

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 4f9631ea85f1bd5370f6ed4505d168baf6b28388
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 2021-09-28T09:42:04+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/4f9631ea85f1bd5370f6ed4505d168baf6b28388 [^]

Fixed ISSUE-47719: Masterdata background incremental refresh is executed after logout

---
M web-jspack/org.openbravo.core2/src/model/session/__test__/Logout.test.js
M web-jspack/org.openbravo.core2/src/model/session/user-actions/Logout.js
---
(0132046)
hgbot (developer)
2021-09-28 14:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/636 [^]

- Issue History
Date Modified Username Field Change
2021-09-20 13:02 jarmendariz New Issue
2021-09-20 13:02 jarmendariz Assigned To => jarmendariz
2021-09-20 13:02 jarmendariz Triggers an Emergency Pack => No
2021-09-20 13:04 jarmendariz Relationship added related to 0047655
2021-09-20 18:07 guilleaer Project Retail Modules => POS2
2021-09-20 18:08 guilleaer Status new => acknowledged
2021-09-20 18:08 guilleaer Category Web POS => POS
2021-09-21 12:04 AugustoMauch Category POS => Core
2021-09-21 17:44 hgbot Note Added: 0131964
2021-09-21 18:10 guilleaer Status acknowledged => scheduled
2021-09-22 13:54 hgbot Note Added: 0131973
2021-09-28 14:32 hgbot Note Added: 0132043
2021-09-28 14:32 hgbot Note Added: 0132044
2021-09-28 14:32 hgbot Resolution open => fixed
2021-09-28 14:32 hgbot Status scheduled => closed
2021-09-28 14:32 hgbot Note Added: 0132045
2021-09-28 14:32 hgbot Note Added: 0132046


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker