| Openbravo Issue Tracking System - POS2 | 
| View Issue Details | 
| 
 | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0047719 | POS2 | Core | public | 2021-09-20 13:02 | 2021-09-28 14:32 | 
| 
 | 
| Reporter | jarmendariz |  | 
| Assigned To | jarmendariz |  | 
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed |  | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |  | 
| Target Version |  | Fixed in Version |  |  | 
| 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. | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to | defect | 0047655 |  | closed | prakashmurugesan88 | JIRA 2305 - Update database in background - Info message appears several times | 
 | 
| Attached Files |  | 
| 
 | 
| 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 |  | 
	| Notes | 
	| 
 | 
	| 
		
			| (0131964) |  
			| hgbot |  
			| 2021-09-21 17:44 |  |  | 
	| 
 | 
	| 
		
			| (0131973) |  
			| hgbot |  
			| 2021-09-22 13:54 |  |  | 
	| 
 | 
	| 
		
			| (0132043) |  
			| hgbot |  
			| 2021-09-28 14:32 |  |  | 
	| 
 | 
	| 
		
			| (0132044) |  
			| hgbot |  
			| 2021-09-28 14:32 |  |  | 
	| 
 | 
	| 
		
			| (0132045) |  
			| hgbot |  
			| 2021-09-28 14:32 |  |  | 
	| 
 | 
	| 
		
			| (0132046) |  
			| hgbot |  
			| 2021-09-28 14:32 |  |  |