Openbravo Issue Tracking System - POS2
View Issue Details
0056591POS2POSpublic2024-09-30 16:212025-03-27 12:18
asier_perez 
Triage Platform Base 
normalminoralways
closedduplicate 
5
 
 
open
No
No
0056591: Duplicated request with same exact body and headers when loading the POS login screen
Now the login screen shows the POS users, including their profile pictures. When loading this screen, the request that is sent to retrieve the user images is duplicated.

This is the request: org.openbravo.pos2.loginutils?appName=POS2&terminalId=undefined&terminalName=VBS-2&command=userImages
1) Log in POS2
2) Open developer tools in the "network" tab
3) Close the till
4) When the login screen appears, note that this request appears twice in a row: org.openbravo.pos2.loginutils?appName=POS2&terminalId=undefined&terminalName=VBS-2&command=userImages
Performance
caused by feature request 0055106 closed gonzalo_fernandez Infrastructure User Icons in Login Screen in POS2 
png duplicatedRequest.png (247,350) 2024-09-30 16:21
https://issues.openbravo.com/file_download.php?file_id=20202&type=bug
png
Issue History
2024-09-30 16:21asier_perezNew Issue
2024-09-30 16:21asier_perezAssigned To => Retail
2024-09-30 16:21asier_perezFile Added: duplicatedRequest.png
2024-09-30 16:21asier_perezOBNetwork customer => No
2024-09-30 16:21asier_perezTriggers an Emergency Pack => No
2024-10-01 05:58guillermogilAssigned ToRetail => Triage Platform Base
2024-10-01 11:38alostaleSeveritytrivial => minor
2024-10-01 11:38alostaleTag Attached: Performance
2024-10-01 11:39alostaleRelationship addedcaused by 0055106
2024-10-01 11:44alostaleNote Added: 0169824
2024-10-01 11:44alostaleStatusnew => acknowledged
2024-10-03 11:47hgbotMerge Request Status => open
2024-10-03 11:47hgbotNote Added: 0169947
2025-03-27 12:18hgbotNote Added: 0177579
2025-03-27 12:18hgbotStatusacknowledged => closed
2025-03-27 12:18hgbotResolutionopen => duplicate

Notes
(0169824)
alostale   
2024-10-01 11:44   
The 2 requests come from [1] and [2].

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/components/AuthProvider/UserImagesProviders.js#L25 [^]

[2] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/components/UserAvatarLoginKeymap/UserAvatarLoginKeymap.jsx#L42 [^]
(0169947)
hgbot   
2024-10-03 11:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1603 [^]
(0177579)
hgbot   
2025-03-27 12:18   
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24316 [^]