[jitsi-issues] [JIRA] Created: (JITSI-1112) When registering a new ippi.com account from within jitsi error messages are not displayed to the user

ptankov (JIRA) jira-no-reply at java.net
Wed Mar 13 10:37:53 CET 2013


When registering a new ippi.com account from within jitsi error messages are not displayed to the user
------------------------------------------------------------------------------------------------------

                 Key: JITSI-1112
                 URL: http://java.net/jira/browse/JITSI-1112
             Project: jitsi
          Issue Type: Bug
          Components: development
    Affects Versions: 2.1
         Environment: Mac OS X 10.6.8
            Reporter: ptankov
            Priority: Minor


1) I tried to register a new ippi.com account from within the jitsi program itself.
2) I did Options -> Accounts -> Add -> Network:IPPI -> Create a free ippi account. I selected a proper username but didn't know about all the requirements about the password that are otherwise visible on the ippi.com website when creating a user.
3) Those requirements (at the time of writing) are:
    *) username: Minimum of 6 characters, no spaces, only letters, numbers and _ character
    *) password: Minimum of 6 characters including one letter and one number - no special characters
4) By chance, I had picked a valid username, but my password didn't honor the requirements.
5) I hit the [Add] button, a short message "Connecting..." appeared for a short time and then nothing happened. The dialog stayed open.

However, here's what's in the log:

-------------------- jitsi0.log.0 -------------------
16:26:51.713 INFO: [49] plugin.ippiaccregwizz.CreateIppiAccountForm.createAccount().230 JSON response to create account request: {"success":"false","error":"Error","error_message":"Password has to be at least 6 characters with one letter and one digit (DVL 394)"}
16:26:51.722 INFO: [49] plugin.ippiaccregwizz.CreateIppiAccountForm.parseHttpResponse().304 Failed Json parsing.
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
	at net.java.sip.communicator.plugin.ippiaccregwizz.CreateIppiAccountForm.parseHttpResponse(CreateIppiAccountForm.java:286)
	at net.java.sip.communicator.plugin.ippiaccregwizz.CreateIppiAccountForm.createAccount(CreateIppiAccountForm.java:233)
	at net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationForm.commitPage(SIPAccountRegistrationForm.java:211)
	at net.java.sip.communicator.plugin.sipaccregwizz.FirstWizardPage.commitPage(FirstWizardPage.java:109)
	at net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard.signin(SIPAccountRegistrationWizard.java:314)
	at net.java.sip.communicator.impl.gui.main.account.NewAccountDialog$ProtocolSignInThread.run(NewAccountDialog.java:565)
	at java.lang.Thread.run(Thread.java:680)

I repeated the above scenario this time with a conformant password, but non-conformant username. Here's the log snippet:

-------------------- jitsi0.log.0 -------------------
11:32:06.405 INFO: [164] plugin.ippiaccregwizz.CreateIppiAccountForm.createAccount().230 JSON response to create account request: {"success":"false","error":"Error","error_message":"Invalid login (at least 6 characters) (DVL 298)"}
11:32:06.406 INFO: [164] plugin.ippiaccregwizz.CreateIppiAccountForm.parseHttpResponse().304 Failed Json parsing.
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
	at net.java.sip.communicator.plugin.ippiaccregwizz.CreateIppiAccountForm.parseHttpResponse(CreateIppiAccountForm.java:286)
	at net.java.sip.communicator.plugin.ippiaccregwizz.CreateIppiAccountForm.createAccount(CreateIppiAccountForm.java:233)
	at net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationForm.commitPage(SIPAccountRegistrationForm.java:211)
	at net.java.sip.communicator.plugin.sipaccregwizz.FirstWizardPage.commitPage(FirstWizardPage.java:109)
	at net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard.signin(SIPAccountRegistrationWizard.java:314)
	at net.java.sip.communicator.impl.gui.main.account.NewAccountDialog$ProtocolSignInThread.run(NewAccountDialog.java:565)
	at java.lang.Thread.run(Thread.java:680)

In none of the above cases is the user presented any message about why he can't register.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the issues mailing list