ddc0660 / assassin

0 stars 0 forks source link

JoinGame failing incorrectly #6

Closed ddc0660 closed 10 years ago

ddc0660 commented 10 years ago

https://appengine.google.com/logs?version_id=1.372979136052349634&app_id=s~code-newyears-2013&filter_type=labels&filter=path%3A%22%2FJoinGame%22&severity_level_override=1&view=Search

Hopefully that link works. It's to a filtered view of the app engine logs. The message I'm seeing in the logs is that 'email must not be empty,' but I'm definitely sending something in the email.

I thought we had this working, but perhaps this one was never quite right. Can't recall now. Can you investigate on your side?

cstheorist commented 10 years ago

It was working and email has been required (and is still required). In looking at the log post definitely doesn't look like it was passed.

http://webapp-improved.appspot.com/guide/request.html

I can attempt to add some additional logging or if you let me know how to install the client on my phone I can try to make the call and run a few attempts here.

ddc0660 commented 10 years ago

Ok. I kinda thought it was working, so I'm thinking it's something wrong with the client.

I'm working toward getting you (and anyone else who we want) to be able to install the client on your phone.

ddc0660 commented 10 years ago

I've sent you an invitation as a collaborator to the Phonegap Build account. I've still got some source code to clean up and some instructions to write before you probably want to get too involved with it.

ddc0660 commented 10 years ago

Figured this out finally. Root cause is that AngularJS posts are formed differently than jQuery posts. AngularJS uses JSON (as a default) while jQuery uses URL encoding. I made a few modifications and it seems to be working now.