You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Maxim Solodovnik (JIRA)" <ji...@apache.org> on 2013/09/27 08:02:02 UTC

[jira] [Created] (OPENMEETINGS-806) addNewUser SOAP method doe not return valid error code

Maxim Solodovnik created OPENMEETINGS-806:
---------------------------------------------

             Summary: addNewUser SOAP method doe not return valid error code
                 Key: OPENMEETINGS-806
                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-806
             Project: Openmeetings
          Issue Type: Bug
          Components: SOAP/REST API
    Affects Versions: 2.1.1 Apache Release
            Reporter: Maxim Solodovnik
            Assignee: Maxim Solodovnik
             Fix For: 3.0.0 Apache Release, 2.2.0 Apache Release


addNewUser SOAP method doe not return valid error code


The problem was as Follows:

I'm trying out Openmeetings SOAP API for the first time and I'm running into a bit of a problem.  I'm trying to add a new user with the addNewUser function and I get back the message code "-40".  From my understanding, this is an indication that everything should be fine, given the documentation:

-40  	 Message	   You have successfully signed up. An email with a verification code will be sent to your mailbox.

However, I go to my email account and find nothing.  I know my Openmeetigns is configured to send email just fine because it does so for lost passwords and alike (I've even tested it with the particular email address I'm trying to use), however no such email is sent in the situation above.  Also (I don't know if this is an indication of any issue but just in case) no added user shows up in the "Users" administration panel.  Additionally (again, don't know if this is a problem) no entry is made in the om_users table in the database.

Solution:  Turns out my test username was too short.  I was using "bob" and openmeetings didn't like that.  However, this was not reflected in any sort of error message returned by SOAP...at least none that my code picked up on (see below).  Just thought this might be helpful to anyone who might be in the same situation (I'd already typed up a whole bunch so I figured it would be good not to let it go to waste).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira