Skip to content

User's password could not be changed from the QForumsUI menu. #16

Description

@GoogleCodeExporter
The problem is in "QServiceManagerV2 changePassword: passwordHolder user: 
userName".

The socketStream is checked every-time, when the method is activated:

(socketStream notNil and:[socketStream sendCypher notNil]) ifTrue:[
        ^self sendRequest: 'changePassword2' contents:[:writer|
            writer tag: 'user' pcData: userName.
            writer tag: 'password' pcData: passwordHolder value.
        ].
    ].
But socketStream seems to be nil here, thus the client send the request with 
the name #changePassword, which is not presented in Qwaq Forums 2.0 server 
(#changePassword2 only).

The solution:
To resolve the socketStream presence during execution of the method, or if now 
Qwaq Forums 2.0 server is mainstream, remove the socketStream checking from the 
method and send request just to #changePassword2. 
And it works.

Original issue reported on code.google.com by nsusl...@gmail.com on 19 Jun 2011 at 10:52

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions