Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0057626 | POS2 | POS | public | 2025-01-13 14:19 | 2025-01-21 09:09 |
Reporter | asier_perez | ||||
Assigned To | ignacio_deandres | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 25Q2 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0057626: [25Q1] "Forgot Password?" button does not appear before the first log in | ||||
Description | The "Forgot Password?" button from the log-in page does not appear before the first log in. The isOnline variable in line 295 from LoginForm.jsx is false before the first log in. After logging in for the first time, the isOnline variable is set to true and the button appears, but it should appear also before that. | ||||
Steps To Reproduce | Configuration 1) Log in back-office 2) Go to Preference window 3) Search for 'Terminal Authentication enabled' and open it 4) Change its value to 'Y' and save 5) Go to Client window 6) Select the 'The White Valley Group' record 7) In the 'Information' sub-tab, check the 'Allow Users to Request a Password by Email', and save changes Reproducing the issue 1) Go to POS2 (either with cache cleared or just after doing the configuration from above) 2) Type the terminal key ID and the credentials, then click on 'Link Device' 3) At this point, the 'Forgot Password?' button should appear, but it doesn't. When debugging with developer tools, the isOnline has the value 'false', but it should be 'true' | ||||
Proposed Solution | isOnline is retrieved this way const isOnline = useSelector( state => !!state.RemoteServer.BackendServer?.isOnline ); In case of the first login, isOnline is undefined because no request to the server has been registered yet, so in this case it has to be assumed that the application is online. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2025-01-13 14:19 | asier_perez | New Issue | |||
2025-01-13 14:19 | asier_perez | Assigned To | => Triage Platform Conn | ||
2025-01-13 14:19 | asier_perez | Triggers an Emergency Pack | => No | ||
2025-01-17 10:54 | adrianromero | Assigned To | Triage Platform Conn => ignacio_deandres | ||
2025-01-17 10:56 | adrianromero | Proposed Solution updated | |||
2025-01-17 10:57 | adrianromero | Status | new => scheduled | ||
2025-01-20 12:29 | hgbot | Note Added: 0174391 | |||
2025-01-21 09:09 | hgbot | Resolution | open => fixed | ||
2025-01-21 09:09 | hgbot | Status | scheduled => closed | ||
2025-01-21 09:09 | hgbot | Note Added: 0174448 | |||
2025-01-21 09:09 | hgbot | Fixed in Version | => 25Q2 | ||
2025-01-21 09:09 | hgbot | Note Added: 0174449 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|