Bug 881825 - username is reported to contain forbidden characters although it does not
username is reported to contain forbidden characters although it does not
Status: RESOLVED WORKSFORME
Classification: openSUSE
Product: openSUSE 13.1
Classification: openSUSE
Component: Installation
Final
Other openSUSE 13.1
: P5 - None : Minor (vote)
: ---
Assigned To: Jiří Suchomel
Jiri Srain
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-09 07:53 UTC by Tobias Mueller
Modified: 2014-06-11 05:13 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot showing the username popup while a valid username is entered (48.43 KB, image/png)
2014-06-09 07:53 UTC, Tobias Mueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Mueller 2014-06-09 07:53:00 UTC
Created attachment 593839 [details]
screenshot showing the username popup while a valid username is entered

User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

I tried to install OpenSuSE and got the the username screen.

I entered my username "muelli" and clicked the "next" button. A popup would show up, complaining about the username. See the attached screenshot.

My gut feeling is that I accidentally hit the Enter key while typing in the username and that the popup was raised asynchronously so that it didn't know that the username I entered by the time the popup appeared was correct.

Maybe the popup could just before it's being raised, check whether the contents of the username field has been changed and then re-check whether it is valid.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Jiří Suchomel 2014-06-10 12:35:19 UTC
That's strange, at any time you've been writing the user name, Enter could be hit and should not produce such popup, if you've really used only valid characters.

Is it reproducible on installed system as well (yast users -> Add new user)?

Could you attach the log files? (see https://en.opensuse.org/openSUSE:Bugreport_YaST)
Comment 2 Tobias Mueller 2014-06-10 12:45:48 UTC
(In reply to comment #1)
> That's strange, at any time you've been writing the user name, Enter could be
> hit and should not produce such popup, if you've really used only valid
> characters.
Maybe the username field was empty. Could that trigger the popup?

Anyway, I think a good strategy is to show the faulty input. I.e. "username %s is not a valid username as it does not only contain letters, digits..."

> Is it reproducible on installed system as well (yast users -> Add new user)?
No idea.

> Could you attach the log files?
No.
Comment 3 Jiří Suchomel 2014-06-10 13:03:41 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > That's strange, at any time you've been writing the user name, Enter could be
> > hit and should not produce such popup, if you've really used only valid
> > characters.
> Maybe the username field was empty. Could that trigger the popup?

It should report the empty username error, so no.

> > Is it reproducible on installed system as well (yast users -> Add new user)?
> No idea.


Could you try that? Otherwise I can't do anything here.
Comment 4 Tobias Mueller 2014-06-10 13:45:07 UTC
(In reply to comment #3)
> Could you try that?
No, as I don't have an OpenSuSE system.

> Otherwise I can't do anything here.
Hm, you could still report the actual username that failed the check. Or check if the field has changed since the popup was meant to raise and only do so if it hasn't changed.
Comment 5 Jiří Suchomel 2014-06-11 05:13:34 UTC
I haven't seen this popup while there was a correct username used in the main dialog.
You are not willing to try if it is reproducible and it works for me, so I have to close it.