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

Viewing a host's profile fails, showing instead the searching user's profile #73

Closed
GerryN opened this Issue Oct 20, 2013 · 26 comments

Comments

Projects
None yet
5 participants
@GerryN
Copy link

GerryN commented Oct 20, 2013

Recently registered as a host. Now when I do a search and click on a potential place to stay I only see the host description for myself. I see the name of the person I clicked on but my info rather than host.

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 28, 2013

@GerryN thanks for posting this. Could you please let us know if these debugging steps make a difference:

  • Log out completely and then log in again
  • Uninstall and then reinstall from the Play Store.

Also please give us complete info about your device and Android version.

Thanks!

In email Gerry mentioned that this was on a Samsung Galaxy S3; I think that would mean Android 4.1 (same as I have), and I can't replicate this.

Gerry provided in email this screenshot. When he visited (in the app) the profile https://www.warmshowers.org/search/wsuser/hosmanek, he saw his own address details (from https://www.warmshowers.org/user/55481) on the profile instead of the member's (https://www.warmshowers.org/users/specbiker)

hosm_example-11

@GerryN

This comment has been minimized.

Copy link

GerryN commented Oct 29, 2013

Tried those again and I still see me profile under other hosts names.  Attached are screenshots of what I see when I look at another host (their name but my profile) and the About Phone info.

Gerry Newton
303-870-2319

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 29, 2013

No screenshots here yet, but you can edit your post and drag them in there.

Have you logged out and logged in again, uninstalled and reinstalled? Please provide your android version.

@GerryN

This comment has been minimized.

Copy link

GerryN commented Oct 29, 2013

Can't paste them here either. My Android version is 4.1.2. Phone is Galaxy S3, SCH-I535

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 29, 2013

For screenshots, use a browser, access this issue at https://github.com/jstaffans/wsandroid/issues/73, drag screenshots into your comment.

Same question remains though: Have you logged out of the app and logged in again, have you uninstalled and reinstalled the app?

@GerryN

This comment has been minimized.

Copy link

GerryN commented Oct 29, 2013

Yes, I've both of those

@GerryN GerryN closed this Oct 29, 2013

@GerryN GerryN reopened this Oct 29, 2013

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 29, 2013

Well, I have the exact same phone and version. So I'll uninstall and
reinstall.

Perhaps you could email me your password and I'll even try it with your
account? randy@randyfay.com

Thanks!
-Randy

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 29, 2013

@GerryN I changed your password as you approved, and was able to log in using the app. After uninstalling and reinstalling and logging in as you I do not see this issue.

I'm on SCH-1535, Android 4.1.2, WSAndroid 1.3.4

Baffling.

@GerryN

This comment has been minimized.

Copy link

GerryN commented Oct 29, 2013

Duh, I was changing the password on github, not warmshowers.

I deleted the app from my phone again, made sure that the account was gone, re-installed it, and still see the same issue.

If I go to warmshowers.org on either my phone or my desktop computer everything works fine. I have the same versions of android and wsandroid that you do so I agree, it is puzzling. I don't know enough about android to figure it out. My guess would be that something was written to a file on my phone at sometime in the past and that it is interfering with the app now.
 
Gerry Newton
303-870-2319

On Tuesday, October 29, 2013 2:04 PM, Randy Fay notifications@github.com wrote:

@GerryN I changed your password as you approved, and was able to log in using the app. After uninstalling and reinstalling and logging in as you I do not see this issue.
I'm on SCH-1535, Android 4.1.2, WSAndroid 1.3.4
Baffling.

Reply to this email directly or view it on GitHub.

@GerryN

This comment has been minimized.

Copy link

GerryN commented Oct 29, 2013

Duh, I was changing the password on github, not warmshowers.

I deleted the app from my phone again, made sure that the account was gone, re-installed it, and still see the same issue.

If I go to warmshowers.org on either my phone or my desktop computer everything works fine. I have the same versions of android and wsandroid that you do so I agree, it is puzzling. I don't know enough about android to figure it out. My guess would be that something was written to a file on my phone at sometime in the past and that it is interfering with the app now.

@GerryN

This comment has been minimized.

Copy link

GerryN commented Oct 29, 2013

Duh, I was changing the password on github, not warmshowers.

I deleted the app from my phone again, made sure that the account was gone, re-installed it, and still see the same issue.

If I go to warmshowers.org on either my phone or my desktop computer everything works fine. I have the same versions of android and wsandroid that you do so I agree, it is puzzling. I don't know enough about android to figure it out. My guess would be that something was written to a file on my phone at sometime in the past and that it is interfering with the app now.

BTW, I"m doing a last minute tour in Florida. Leaving on the 11th and coming back the Monday before Thanksgiving. Let me know if you're interested.
 
Gerry Newton
303-870-2319

On Tuesday, October 29, 2013 2:04 PM, Randy Fay notifications@github.com wrote:

@GerryN I changed your password as you approved, and was able to log in using the app. After uninstalling and reinstalling and logging in as you I do not see this issue.
I'm on SCH-1535, Android 4.1.2, WSAndroid 1.3.4
Baffling.

Reply to this email directly or view it on GitHub.

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 29, 2013

Thanks for the offer, @GerryN , but this is the time of year my Mom is here, so no bike touring this time of year :-)

@jstaffans

This comment has been minimized.

Copy link
Contributor

jstaffans commented Nov 8, 2013

You could try re-entering your credentials in the app. Open the menu (hardware button) on e.g. the starred hosts page and click Account.

@GerryN

This comment has been minimized.

Copy link

GerryN commented Nov 11, 2013

Tried that. Deleted the app, re-installed it, and still had the problem. Don't have the problem if go to the website. We're guessing that it is a bug local to my phone.
 
Gerry Newton
303-870-2319

On Friday, November 8, 2013 4:59 AM, jstaffans notifications@github.com wrote:

You could try re-entering your credentials in the app. Open the menu (hardware button) on e.g. the starred hosts page and click Account.

Reply to this email directly or view it on GitHub.

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Nov 11, 2013

This is a really hard one as I can't demonstrate the behavior on the same phone model with the same account.

The only approach I can think of is code inspection.

@bretonsuisse

This comment has been minimized.

Copy link

bretonsuisse commented May 29, 2014

Hello, excuse me for my bad English. I have a problem forsearch with the application on my samsung GT-19295 S4 with android 4.2.2. when I want to search I receive this message "could not retrieve host information. credentials and check your internet connection"
I tried to uninstall and dellete all information cached and then to install but for now it does not change anything.
my internet connection is active and my username and login too. you have any solution?
Thanks

@GerryN

This comment has been minimized.

Copy link

GerryN commented May 29, 2014

This may not be it, but I'm in Europe and have seen the same issue while on WiFi. Turning on mobile data solved the problem.

Gerry Newton
303-870-2319

@bretonsuisse

This comment has been minimized.

Copy link

bretonsuisse commented May 29, 2014

Thanks for this answer.
if i can use i give you a feed back
Le 29 mai 2014 19:11, "GerryN" notifications@github.com a écrit :

This may not be it, but I'm in Europe and have seen the same issue while
on WiFi. Turning on mobile data solved the problem.

Gerry Newton
303-870-2319


Reply to this email directly or view it on GitHub
#73 (comment)
.

@multani

This comment has been minimized.

Copy link

multani commented Sep 6, 2014

I have the same issues described in #73 (comment) : when I display information about a host, I have the name of the host in the header, but all the other information are my information. If I Update the profile information (by hitting the menu button, then "Update"), the name changes with mine, and the information are still mine.

I have a Samsung Galaxy-Y with Android 2.3.6. I tried to uninstall/reinstall the application, logout/login again, clear the cache, but nothing changes.

The application used to work a few months ago (I'm pretty sure it worked correctly at the beginning of July, but I don't remember if I updated it since then (if there was an update)).

Basically, it makes the application unusable for me as I can't see host informatin :(

@rfay rfay changed the title Invalid Profile Viewing a host's profile fails, showing instead the searching user's profile Sep 29, 2014

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Sep 29, 2014

We continue to get regular reports of this problem, but have been unable to recreate it.

@GerryN

This comment has been minimized.

Copy link

GerryN commented Sep 29, 2014

Hi Randy,

FYI, I had it happen to me recently. I tried again the next day and the problem went away.

Gerry Newton
303-870-2319

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Sep 29, 2014

Yay, a member gave me their credentials and I'm able to recreate this on my Galaxy S5. Now to figure out what's happening... @jstaffans if you have time to look at this I imagine the customer would be OK with passing along the credentials to you.

The sequence is:

  1. Use the text-search (second tab, the horizontal lines) to search for, say "New York"
  2. Choose any result. The name/title will be that of the host, but the "About this host" will be the searching-member's information.
@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 1, 2014

Shoot, I'm unable to get a buildable version of this project together using current java tools. I wish I was more familiar with the whole android environment. I've tried Eclipse and Intellij and Android Studio, and java 6 and java 6. Ran into problems I didn't know how to solve with all of them. I would be happy to debug this if I could just get it set up.

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 2, 2014

Please take a look at #80 @jstaffans and see if you think it's up to the task. Thanks!

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 2, 2014

The reality is that this just needs the long-discussed wsuser service, warmshowers/Warmshowers.org#416, so I'll get that deployed, and then re-implement this. Basically all the problems here are from scraping wsuser. So we'll get #69 (use the service instead of scraping) fixed, we'll get all kinds of things fixed.

@rfay

This comment has been minimized.

Copy link
Contributor

rfay commented Oct 3, 2014

The version in the related PR is working. The map doesn't display tiles, but I believe that's because google maps v1 is deprecated and I don't have the key (they don't give out keys any more)

@rfay rfay closed this in d327dc0 Oct 21, 2014

jstaffans added a commit that referenced this issue Oct 21, 2014

Merge pull request #80 from rfay/20141001.2_fix_broken_host_loading
Fixes #73 loading user by username via json service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment