Openbravo Issue Tracking System - POS2
View Issue Details
0057202POS2Corepublic2024-11-20 10:532024-11-21 10:50
cberner 
cberner 
normalminorhave not tried
closedfixed 
5
 
25Q1 
No
0057202: Request approval is not available in the Login Screen
The request approval infrastructure is only available once the application has been logged in. This means that we can't ask for approval on any of the login process steps or on the login screen.
1. Open pos2
2. Execute in developer tools console the following:
await OB.App.Security.requestApproval('something');

See that there's no dialog popping up asking for approval. Doing the same after logging in works as expected.
No tags attached.
Issue History
2024-11-20 10:53cbernerNew Issue
2024-11-20 10:53cbernerAssigned To => Triage Platform Base
2024-11-20 10:53cbernerTriggers an Emergency Pack => No
2024-11-20 10:53cbernerAssigned ToTriage Platform Base => cberner
2024-11-20 10:53cbernerStatusnew => acknowledged
2024-11-20 10:57hgbotNote Added: 0172312
2024-11-21 10:45hgbotResolutionopen => fixed
2024-11-21 10:45hgbotStatusacknowledged => resolved
2024-11-21 10:45hgbotNote Added: 0172382
2024-11-21 10:45hgbotFixed in Version => 25Q1
2024-11-21 10:45hgbotNote Added: 0172383
2024-11-21 10:50caristuStatusresolved => closed

Notes
(0172312)
hgbot   
2024-11-20 10:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1656 [^]
(0172382)
hgbot   
2024-11-21 10:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1656 [^]
(0172383)
hgbot   
2024-11-21 10:45   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 2bfdf7f90b40b2212f839b17c3594864ce666072
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 21-11-2024 09:45:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2bfdf7f90b40b2212f839b17c3594864ce666072 [^]

Fixes FR-57202: Cannot request input data in the Login Screen

---
A web-jspack/org.openbravo.core2/src/components/AuthProvider/__test__/LoginFormUtils.js
A web-jspack/org.openbravo.core2/src/components/AuthProvider/__test__/LoginScreen.test.jsx
M web-jspack/org.openbravo.core2/src/components/AuthProvider/LoginScreen.jsx
M web-jspack/org.openbravo.core2/src/components/AuthProvider/__test__/LoginForm.test.jsx
M web-jspack/org.openbravo.core2/src/components/AuthProvider/stories/LoginScreen.stories.jsx
---