Openbravo Issue Tracking System - POS2
View Issue Details
0056430POS2Corepublic2024-09-11 14:212024-09-11 23:27
jarmendariz 
jarmendariz 
highcriticalhave not tried
closedfixed 
5
 
24Q4 
No
0056430: Unable to switch from SCO to POS
Using login method = 'Autologin' and switching from SCO to POS, an error message appears and the user cannot switch to POS mode
Create a POS-SCO environment with login method = Autologin

Create a user "pos user" with a manual role with only access to POS
Create a user "sco user" with a manual role with only access to POS. Set this user as the default user for autologin

Log in directly to SCO
Double click the company logo and introduce the credentials for "pos user"
An error message appears
No tags attached.
caused by design defect 0056149 closed caristu Authorization code open id protocol does not work while making login in sco 
Issue History
2024-09-11 14:21jarmendarizNew Issue
2024-09-11 14:21jarmendarizAssigned To => jarmendariz
2024-09-11 14:21jarmendarizTriggers an Emergency Pack => No
2024-09-11 14:23jarmendarizRelationship addedcaused by 0056149
2024-09-11 14:26hgbotNote Added: 0169084
2024-09-11 14:26hgbotNote Added: 0169085
2024-09-11 23:27hgbotNote Added: 0169101
2024-09-11 23:27hgbotNote Added: 0169102
2024-09-11 23:27hgbotNote Added: 0169103
2024-09-11 23:27hgbotResolutionopen => fixed
2024-09-11 23:27hgbotStatusnew => closed
2024-09-11 23:27hgbotFixed in Version => 24Q4
2024-09-11 23:27hgbotNote Added: 0169104
2024-09-11 23:27hgbotNote Added: 0169105

Notes
(0169084)
hgbot   
2024-09-11 14:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/87 [^]
(0169085)
hgbot   
2024-09-11 14:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1589 [^]
(0169101)
hgbot   
2024-09-11 23:27   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^]
Changeset: bfcd8c1ceae764af0b192ac4d0f34ed36b696407
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 11-09-2024 21:03:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/bfcd8c1ceae764af0b192ac4d0f34ed36b696407 [^]

Related to ISSUE-56430: Added a condition to avoid autologin request while switching user in SCO

---
M web-jspack/org.openbravo.pos2.selfcheckout/src/authentication/PerformAutologinOnLoginScreenRender.js
---
(0169102)
hgbot   
2024-09-11 23:27   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^]
Changeset: dd78798e08bf03c3d19e37640f55b92e1597983b
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 11-09-2024 21:27:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/dd78798e08bf03c3d19e37640f55b92e1597983b [^]

Related to ISSUE-56430: Adding localStorage flag to SwitchToSCO to avoid calling Autologin twice

---
M web-jspack/org.openbravo.pos2.selfcheckout/src/model/session/user-actions/Autologin.js
---
(0169103)
hgbot   
2024-09-11 23:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/87 [^]
(0169104)
hgbot   
2024-09-11 23:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: a611bad336c60a28187cc6559c3162f997f3cd26
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 11-09-2024 23:26:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a611bad336c60a28187cc6559c3162f997f3cd26 [^]

Fixed ISSUE-56430: Unable to switch from SCO to POS

---
M web-jspack/org.openbravo.core2/src/model/session/user-actions/SwitchUser.js
---
(0169105)
hgbot   
2024-09-11 23:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1589 [^]