Skip to content

SensorBaseClient returns a wrong user instance given the email #8

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Run SensorBase version 8.3.810.
2. Authenticate with SensorBase as the local server administer.
3. Ask for a User instance by mean of the SensorBaseClient method
"getUser(String email)" where "email" would be the email associated with
any registered user other than the logged admin himself.

What is the expected output? What do you see instead?
The expected output is the User instance referred to the registered user
who is the proprietary of the sent 'email'. 
Indeed you'll see that the returned User instance is the one referred to
the admin himself and not to the requested user.


Please use labels and text to provide additional information.
I think this behavior is not intentional because being logged as the admin
already allows you to get data about any user you want, but it actually
works only by mean of the SensorBaseClient method "getUser(UserRef
userRef)" and not by mean of "getUser(String email)".


Original issue reported on code.google.com by myriam.l...@gmail.com on 13 Aug 2009 at 10:14

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions