sastrabahu / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
1 stars 0 forks source link

Visiting a valid url for sending out invites while being logged out causes exception #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Log out of Jaiku / Jaikuengine
2.1. Visit http://lemonad.jaiku.com/invite (observe that user must exist)
2.2. VIsit http://localhost:8080/user/lemonad/invite

What is the expected output? What do you see instead?
3.1. "Whoa! That was *not* what I was expecting."
3.2. Traceback:
File "/Users/jonas/Projects/django/jaikuengine/django/core/handlers/base.py" in 
get_response
  86.                 response = callback(request, *callback_args, **callback_kwargs)
File "/Users/jonas/Projects/django/jaikuengine/actor/views.py" in _wrap
  42.     return f(request, *args, **kw)
File "/Users/jonas/Projects/django/jaikuengine/actor/views.py" in actor_invite
  221.         '%s/invite' % request.user.url())

Exception Type: AttributeError at /user/test/invite
Exception Value: 'NoneType' object has no attribute 'url'

What version of the product are you using? On what operating system?
Jaiku.com and Jaikuengine on OSX 10.5.6.

Original issue reported on code.google.com by jonasnoc...@gmail.com on 16 Mar 2009 at 6:33

GoogleCodeExporter commented 8 years ago

Original comment by adewale on 14 Apr 2009 at 12:45

GoogleCodeExporter commented 8 years ago
I've upload a patch for this issue: http://rietku.appspot.com/7004/show

Original comment by adewale on 14 Apr 2009 at 10:08

GoogleCodeExporter commented 8 years ago

Original comment by adewale on 16 Apr 2009 at 8:59