Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SensorBaseClient returns a wrong user instance given the email #8

Open
GoogleCodeExporter opened this issue Dec 27, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

Nice catch, thanks, I'll fix.

Original comment by philipmj...@gmail.com on 14 Aug 2009 at 1:47

@GoogleCodeExporter
Copy link
Author

Actually this issue should be posted to the hackystat-sensorbase-uh project. 

Original comment by philipmj...@gmail.com on 14 Aug 2009 at 1:48

@GoogleCodeExporter
Copy link
Author

Whooooops!! I'm really sorry...The next time I'll pay more attention :p

Original comment by myriam.l...@gmail.com on 14 Aug 2009 at 8:15

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

No branches or pull requests

1 participant