Openbravo Issue Tracking System - POS2
View Issue Details
0055753POS2Corepublic2024-06-12 14:192024-07-24 09:15
alostale 
alostale 
normalmajorhave not tried
closedfixed 
5
 
24Q3 
Packaging and release
2024-05-09
main
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/1348856ae2c21a26e6107dd551b554a71ee33de0 [^]
No
0055753: login screen fails with users with a single letter name
Having login user images enabled, the login screen crashes in case there is a user whose name consists in a single letter.
1. In BO create a user with access to POS. Set the username as "a"
2. Having login user images enabled, open POS
  -> ERROR: in login screen Cannot read properties of undefined (reading 'toLowerCase'). Making it impossible to continue.
No tags attached.
related to defect 0055953 feedback AugustoMauch POS2 [24Q3] User Icons on login - Single character name breaks the login screen 
caused by feature request 0055106 closed gonzalo_fernandez Infrastructure User Icons in Login Screen in POS2 
Issue History
2024-06-12 14:19alostaleNew Issue
2024-06-12 14:19alostaleAssigned To => Triage Platform Base
2024-06-12 14:19alostaleTriggers an Emergency Pack => No
2024-06-12 14:20alostaleRegression level => Packaging and release
2024-06-12 14:20alostaleRegression date => 2024-05-09
2024-06-12 14:20alostaleRegression introduced in release => main
2024-06-12 14:20alostaleRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/1348856ae2c21a26e6107dd551b554a71ee33de0 [^]
2024-06-12 14:21alostaleRelationship addedcaused by 0055106
2024-06-12 14:55hgbotNote Added: 0165863
2024-06-12 15:00alostaleAssigned ToTriage Platform Base => alostale
2024-06-12 16:26AugustoMauchStatusnew => scheduled
2024-06-13 07:45hgbotResolutionopen => fixed
2024-06-13 07:45hgbotStatusscheduled => closed
2024-06-13 07:45hgbotNote Added: 0165885
2024-06-13 07:45hgbotFixed in Version => 24Q3
2024-06-13 07:45hgbotNote Added: 0165886
2024-07-24 09:15alostaleRelationship addedrelated to 0055953

Notes
(0165863)
hgbot   
2024-06-12 14:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1514 [^]
(0165885)
hgbot   
2024-06-13 07:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1514 [^]
(0165886)
hgbot   
2024-06-13 07:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 45e2997ceec98bf4f57b5fb4b537e45f78bb29de
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 13-06-2024 05:45:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/45e2997ceec98bf4f57b5fb4b537e45f78bb29de [^]

fixes BUG-55753: login screen fails with users with a single letter name

Do not assume a user name will have more than 1 character when creating its initials.

---
M web-jspack/org.openbravo.core2/src/components/AppBar/UserButton/AvatarUtils.js
---