Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0057626 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | minor | always | 2025-01-13 14:19 | 2025-01-20 12:29 | |||||||
Reporter | asier_perez | View Status | public | |||||||||
Assigned To | ignacio_deandres | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0174391) hgbot (developer) 2025-01-20 12:29 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1725 [^] |
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 |
Copyright © 2000 - 2009 MantisBT Group |