Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0047719 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] Core | major | always | 2021-09-20 13:02 | 2021-09-28 14:32 | |||
| Reporter | jarmendariz | View Status | public | |||||
| Assigned To | jarmendariz | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0047719: Background incremental Masterdata refresh should not be executed when logged out | |||||||
| Description | After 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 Reproduce | In 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 Solution | Background masterdata incremental refresh timer should be stopped on logout. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
|  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] | ||||||||
| 
 | ||||||||
|  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 | OBNetwork customer | => No | 
| 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 | Merge Request Status | => open | 
| 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 10:30 | hgbot | Merge Request Status | open => approved | 
| 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 |