Bug 39898

Summary: username gets removed from loginform on session timeout
Product: UCS Reporter: Florian Best <best>
Component: UMC (Generic)Assignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Alexander Kramer <kramer>
Severity: normal    
Priority: P5 CC: damrose, gohmann, walkenhorst
Version: UCS 4.1   
Target Milestone: UCS 4.1-0-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=40900
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 40118    
Attachments: patch

Description Florian Best univentionstaff 2015-11-12 11:18:17 CET
The username field gets cleared in the login dialog if the session times out. As the field is disabled one cannot overwrite it so that a page reload is required.
Comment 1 Florian Best univentionstaff 2015-11-12 11:18:53 CET
Created attachment 7286 [details]
patch
Comment 2 Erik Damrose univentionstaff 2015-11-17 09:45:17 CET
The username is also not pre-filled if the login page is loaded with the query parameter '?username=Administrator', as it happens in appliance mode with an external browser
Comment 3 Florian Best univentionstaff 2015-11-17 22:20:40 CET
2015-11-17-univention-management-console-frontend.yaml:
r65680 | YAML Bug #39898

univention-management-console-frontend (5.0.63-3):
r65679 | Bug #39898: fix username field in login dialog
Comment 4 Alexander Kramer univentionstaff 2015-11-18 09:46:50 CET
frontend 5.0.63-3.1190.201511172215

OK - username is pre-filled as it happens in appliamce mode with an external browser

OK - the username field is not cleared out after umc/http/session/timeout

FAIL - it is not possible to change the username after umc/http/session/timeout because the input field is disabled. If one tries to delete the username by using the backspace key, she/he will trigger the browser history
Comment 5 Florian Best univentionstaff 2015-11-18 10:03:06 CET
(In reply to Alexander Kramer from comment #4)
> FAIL - it is not possible to change the username after
> umc/http/session/timeout because the input field is disabled. If one tries
> to delete the username by using the backspace key, she/he will trigger the
> browser history
This is on purpose to prevent that you have an opened module while you change your username. If you want to change the username you need to reload the page.
Comment 6 Alexander Kramer univentionstaff 2015-11-18 12:15:06 CET
(In reply to Florian Best from comment #5)
> (In reply to Alexander Kramer from comment #4)
> > FAIL - it is not possible to change the username after
> > umc/http/session/timeout because the input field is disabled. If one tries
> > to delete the username by using the backspace key, she/he will trigger the
> > browser history
> This is on purpose to prevent that you have an opened module while you
> change your username. If you want to change the username you need to reload
> the page.

OK - as discussed input field stays disabled

OK - yaml file
Comment 7 Janek Walkenhorst univentionstaff 2015-11-26 15:17:10 CET
<http://errata.software-univention.de/ucs/4.1/2.html>