Server error when copying clips within edit #2180

Closed
opened 2014-02-04 10:57:48 +00:00 by rlx · 1 comment
Owner

Select clips, press control-c, then control-v.

Traceback (most recent call last):

  File "/srv/pandora/src/django/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/srv/pandora/src/python-ox/ox/django/api/views.py", line 38, in api
    response = f(request)

  File "/srv/pandora/src/python-ox/ox/django/decorators.py", line 18, in _wrapped_view
    return function(request, *args, **kwargs)

  File "/srv/pandora/pandora/edit/views.py", line 52, in addClips
    clip = edit.add_clip(c, index)

  File "/srv/pandora/pandora/edit/models.py", line 69, in add_clip
    clip.annotation = Annotation.objects.get(public_id=data['annotation'])

  File "/srv/pandora/src/django/django/db/models/manager.py", line 131, in get
    return self.get_query_set().get(*args, **kwargs)

  File "/srv/pandora/src/django/django/db/models/query.py", line 366, in get
    % self.model._meta.object_name)

DoesNotExist: Annotation matching query does not exist.
Select clips, press control-c, then control-v. ``` Traceback (most recent call last): File "/srv/pandora/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/srv/pandora/src/python-ox/ox/django/api/views.py", line 38, in api response = f(request) File "/srv/pandora/src/python-ox/ox/django/decorators.py", line 18, in _wrapped_view return function(request, *args, **kwargs) File "/srv/pandora/pandora/edit/views.py", line 52, in addClips clip = edit.add_clip(c, index) File "/srv/pandora/pandora/edit/models.py", line 69, in add_clip clip.annotation = Annotation.objects.get(public_id=data['annotation']) File "/srv/pandora/src/django/django/db/models/manager.py", line 131, in get return self.get_query_set().get(*args, **kwargs) File "/srv/pandora/src/django/django/db/models/query.py", line 366, in get % self.model._meta.object_name) DoesNotExist: Annotation matching query does not exist. ```
rlx added this to the 14.01 milestone 2014-02-04 10:57:48 +00:00
rlx added the
normal
defect
labels 2014-02-04 10:57:48 +00:00
j added the
backend
label 2014-02-04 11:02:58 +00:00
j self-assigned this 2014-02-04 11:02:58 +00:00
j added the
frontend
label 2014-02-04 11:02:58 +00:00
rlx was assigned by j 2014-02-04 11:02:58 +00:00
rlx was assigned by j 2014-02-04 11:02:58 +00:00
Owner

In []changeset:pandora,3971:

#!CommitTicketReference repository="" revision="pandora,3971"
send annotation id not annotatoin id + clip id, fixes #2180
In []changeset:pandora,3971: ``` #!CommitTicketReference repository="" revision="pandora,3971" send annotation id not annotatoin id + clip id, fixes #2180 ```
j added the
fixed
label 2014-02-04 11:15:43 +00:00
j closed this issue 2014-02-04 11:15:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 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#2180
No description provided.