liruqi / partychapp

Automatically exported from code.google.com/p/partychapp
0 stars 0 forks source link

I don't even... #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
So I was having the same issue as bug 105, for the same reason. I fixed the 
configuration file, re-uploaded the app to app engine, no change.

I tried a bunch of different things, shut down all instances, increment version 
number, still no change.

Finally, I added logging to CreateChannelServlet.doPost() to print out 
Configuration.chatDomain, and it magically starts working!

So then I go an invite myself to the chat room, send the "/help" message, and 
see that Channel.sendDirect() fails with a similar error message. More poking, 
more updating. Finally I add logging to SendUtil.sendMessage(), update, and 
voila, bug is fixed!

It seems like somehow the value for Configuration.chatDomain that each of these 
classes was getting was not being changed until I actually modified the file. I 
don't understand how that can be possible though.

Original issue reported on code.google.com by zbo...@gmail.com on 28 Dec 2012 at 6:25