Openbravo Issue Tracking System - POS2
View Issue Details
0049102POS2POSpublic2022-04-21 12:032022-05-06 09:37
guilleaer 
cberner 
normalmajorhave not tried
closedfixed 
5
 
 
No
0049102: Jira 2909 : Changing user with empty cache is not working fine. Terminal information is not retrieved for new user
Changing user with empty cache is not working fine. Terminal information is not retrieved for new user
Clear cache
In live builds login in POS2 with user vallblanca / openbravo
logout
login using demouser / openbravo
You will see that terminal object (write in dev tools: "OB.App.TerminalProperty.get('terminal')") is not filled
UI will show undefined in terminal information (see attached screenshot)
No tags attached.
related to defect 0049112 closed meriem_azaf Error shown when doing login offline 
png Selection_551.png (35,341) 2022-04-21 12:22
https://issues.openbravo.com/file_download.php?file_id=16922&type=bug
png
Issue History
2022-04-21 12:03guilleaerNew Issue
2022-04-21 12:03guilleaerAssigned To => cberner
2022-04-21 12:03guilleaerTriggers an Emergency Pack => No
2022-04-21 12:03guilleaerStatusnew => scheduled
2022-04-21 12:13mmohammadSummaryChanging user with empty cache is not working fine. Terminal information is not retrieved for new user => Jira 2909 : Changing user with empty cache is not working fine. Terminal information is not retrieved for new user
2022-04-21 12:21guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23944#r23944
2022-04-21 12:22guilleaerFile Added: Selection_551.png
2022-04-21 19:45hgbotNote Added: 0136674
2022-04-22 17:02hgbotResolutionopen => fixed
2022-04-22 17:02hgbotStatusscheduled => closed
2022-04-22 17:02hgbotNote Added: 0136688
2022-04-22 17:02hgbotNote Added: 0136689
2022-05-06 09:37cbernerRelationship addedrelated to 0049112

Notes
(0136674)
hgbot   
2022-04-21 19:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/735 [^]
(0136688)
hgbot   
2022-04-22 17:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 2bd6b18bfa6edc8a6458594cade1ef04e21247c1
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 22-04-2022 15:02:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2bd6b18bfa6edc8a6458594cade1ef04e21247c1 [^]

Fixes ISSUE-49102: Changing user with empty cache is not working properly, terminal info not retrieved

---
M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js
M web-jspack/org.openbravo.core2/src/core/authentication/__test__/LoginProcess.test.js
---
(0136689)
hgbot   
2022-04-22 17:02   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/735 [^]