Bug 40763

Summary: SCO alert box for for wrong password used alert-info when it should use alert-warning
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Self checkoutAssignee: Lucas Gass (lukeg) <lucas>
Status: Needs documenting --- QA Contact: Jonathan Druart <jonathan.druart>
Severity: normal    
Priority: P5 - low CC: fridolin.somers, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.04
Circulation function:
Attachments: Bug 40763: Swap alert-info class with alert-warning class
Bug 40763: Swap alert-info class with alert-warning class
Bug 40763: Swap alert-info class with alert-warning class

Description Lucas Gass (lukeg) 2025-09-05 17:32:26 UTC
To recreate:

1. Go to SCO
2. Login but use the wrong password
3. The alert appears "You entered an incorrect username or password. Please try again! But note that passwords are case sensitive. Please contact a library staff member if you continue to have problems."
4. This alert is in a blue box with the class alert-info, I think this should be alert-warning.
Comment 1 Lucas Gass (lukeg) 2025-09-05 17:38:35 UTC
Created attachment 186243 [details] [review]
Bug 40763: Swap alert-info class with alert-warning class

1. Go to SCO
2. Login but use the wrong password
3. The alert appears "You entered an incorrect username or password. Please try again! But note that passwords are case sensitive. Please contact a library staff member if you continue to have problems."
4. This alert is in a blue box with the class alert-info
5. APPLY PATCH
6. Try again, the box should be yellow with the alert-warning class.
Comment 2 Noah Tremblay 2025-09-05 18:23:14 UTC
Created attachment 186244 [details] [review]
Bug 40763: Swap alert-info class with alert-warning class

1. Go to SCO
2. Login but use the wrong password
3. The alert appears "You entered an incorrect username or password. Please try again! But note that passwords are case sensitive. Please contact a library staff member if you continue to have problems."
4. This alert is in a blue box with the class alert-info
5. APPLY PATCH
6. Try again, the box should be yellow with the alert-warning class.

Signed-off-by: noah <noah@inlibro.com>
Comment 3 Jonathan Druart 2025-09-16 08:39:50 UTC
Created attachment 186453 [details] [review]
Bug 40763: Swap alert-info class with alert-warning class

1. Go to SCO
2. Login but use the wrong password
3. The alert appears "You entered an incorrect username or password. Please try again! But note that passwords are case sensitive. Please contact a library staff member if you continue to have problems."
4. This alert is in a blue box with the class alert-info
5. APPLY PATCH
6. Try again, the box should be yellow with the alert-warning class.

Signed-off-by: Noah Tremblay <noah.tremblay@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Lucas Gass (lukeg) 2025-09-18 19:54:31 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Paul Derscheid 2025-09-25 16:31:06 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 6 Fridolin Somers 2025-10-16 06:12:39 UTC
I prefer not impact 24.11.x for UI stability