Cannot create lists #3071

Closed
opened 2018-01-15 11:13:30 +00:00 by rlx · 0 comments
Owner
Traceback (most recent call last):

> File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)

> File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

> File "/srv/pandora/pandora/oxdjango/api/views.py", line 53, in api
    response = f(request, data)

> File "/srv/pandora/pandora/oxdjango/decorators.py", line 19, in _wrapped_view
    return function(request, *args, **kwargs)

> File "/srv/pandora/pandora/itemlist/views.py", line 272, in addList
    response['data'] = list.json()

> File "/srv/pandora/pandora/itemlist/models.py", line 239, in json
    response[]key = self.editable(user)

> File "/srv/pandora/pandora/itemlist/models.py", line 118, in editable
    if user.is_anonymous():

<AttributeError>: 'NoneType' object has no attribute 'is_anonymous'
``` Traceback (most recent call last): > File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 149, in get_response response = self.process_exception_by_middleware(e, request) > File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) > File "/srv/pandora/pandora/oxdjango/api/views.py", line 53, in api response = f(request, data) > File "/srv/pandora/pandora/oxdjango/decorators.py", line 19, in _wrapped_view return function(request, *args, **kwargs) > File "/srv/pandora/pandora/itemlist/views.py", line 272, in addList response['data'] = list.json() > File "/srv/pandora/pandora/itemlist/models.py", line 239, in json response[]key = self.editable(user) > File "/srv/pandora/pandora/itemlist/models.py", line 118, in editable if user.is_anonymous(): <AttributeError>: 'NoneType' object has no attribute 'is_anonymous' ```
j added the
backend
label 2018-01-15 11:13:30 +00:00
j added this to the 14.04 milestone 2018-01-15 11:13:30 +00:00
j self-assigned this 2018-01-15 11:13:30 +00:00
j added the
critical
defect
labels 2018-01-15 11:13:30 +00:00
j added the
fixed
label 2018-01-15 11:20:30 +00:00
j closed this issue 2018-01-15 11:20:30 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#3071
No description provided.