Openbravo Issue Tracking System - POS2
View Issue Details
0052806POS2Corepublic2023-06-21 09:112023-06-22 09:21
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q3 
approved
No
Automated tests
2023-06-20
main
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1107/diffs?commit_id=78153cbff762111c3c3fd08a0117bc42da79b371 [^]
No
0052806: Authentication error message
When we have an authentication error the error message used to be part of the title we usually passed the error Message in the response as a messageTitle instead of a messageText.
1- Go to POS2.
2- Login using a wrong password or an invalid username.

KO, in login screen we should see the error message "Invalid user name or password. Please try again" instead of this one "Please try again".
No tags attached.
caused by defect 0052463 closed Triage Platform Base The message shown to a user without terminal access is not correct 
png Screenshot from 2023-06-21 09-39-16.png (30,159) 2023-06-21 09:43
https://issues.openbravo.com/file_download.php?file_id=18668&type=bug
png
Issue History
2023-06-21 09:11meriem_azafNew Issue
2023-06-21 09:11meriem_azafAssigned To => Triage Platform Base
2023-06-21 09:11meriem_azafOBNetwork customer => No
2023-06-21 09:11meriem_azafRegression level => Automated tests
2023-06-21 09:11meriem_azafRegression date => 2023-06-20
2023-06-21 09:11meriem_azafRegression introduced in release => main
2023-06-21 09:11meriem_azafRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1107/diffs?commit_id=78153cbff762111c3c3fd08a0117bc42da79b371 [^]
2023-06-21 09:11meriem_azafTriggers an Emergency Pack => No
2023-06-21 09:11meriem_azafAssigned ToTriage Platform Base => meriem_azaf
2023-06-21 09:11meriem_azafStatusnew => acknowledged
2023-06-21 09:11meriem_azafStatusacknowledged => scheduled
2023-06-21 09:11meriem_azafRelationship addedcaused by 0052463
2023-06-21 09:12meriem_azafSummaryAuthetification error message => Authentication error message
2023-06-21 09:43meriem_azafSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26311#r26311
2023-06-21 09:43meriem_azafFile Added: Screenshot from 2023-06-21 09-39-16.png
2023-06-21 10:32hgbotMerge Request Status => open
2023-06-21 10:32hgbotNote Added: 0151427
2023-06-21 12:18meriem_azafSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26318#r26318
2023-06-21 23:49hgbotMerge Request Statusopen => approved
2023-06-21 23:49hgbotResolutionopen => fixed
2023-06-21 23:49hgbotStatusscheduled => closed
2023-06-21 23:49hgbotNote Added: 0151462
2023-06-21 23:49hgbotFixed in Version => 23Q3
2023-06-21 23:49hgbotNote Added: 0151463
2023-06-22 09:21hgbotNote Added: 0151474

Notes
(0151427)
hgbot   
2023-06-21 10:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1145 [^]
(0151462)
hgbot   
2023-06-21 23:49   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1145 [^]
(0151463)
hgbot   
2023-06-21 23:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: aa4452f5531b3369f4fc0ee0c2d926ccbadd2609
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 21-06-2023 21:49:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/aa4452f5531b3369f4fc0ee0c2d926ccbadd2609 [^]

Fixes ISSUE-52806: Authentication error message

When we have an authentication error the error message used to be part of the title we usually passed the error Message in the response as a messageTitle instead of a messageText.

---
M web-jspack/org.openbravo.core2/src/components/AuthProvider/LoginForm.jsx
M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js
---
(0151474)
hgbot   
2023-06-22 09:21   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 5fdd5f97db0c2a4fb13a61d8d7f46f756434e8b4
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 22-06-2023 09:21:50
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/5fdd5f97db0c2a4fb13a61d8d7f46f756434e8b4 [^]

Related to ISSUE-52806: Adapts error message to fix test

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/forgotpassword/FP120_UserRoleWithoutAccessToWebPOS.java
---