Project

General

Profile

Actions

Bug #9019

closed

Downloading and uploading of marks does not work

Added by Ilja Zakharov over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Immediate
Category:
Bridge
Target version:
Start date:
06/27/2018
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

I have an unsafe mark with several versions where I edited converted error trace. When I download it, delete and then upload I see the error:

In order to allow non-dict objects to be serialized set the safe parameter to False.
Traceback (most recent call last):
File "/work/zakharov/src/klever/bridge/bridge/CustomViews.py", line 61, in dispatch
return getattr(super(), 'dispatch')(request, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/django/views/generic/base.py", line 89, in dispatch
return handler(request, *args, **kwargs)
File "/work/zakharov/src/klever/bridge/bridge/CustomViews.py", line 94, in post
return JsonResponse(self.get_context_data())
File "/usr/local/lib/python3.6/dist-packages/django/http/response.py", line 503, in init
'In order to allow non-dict objects to be serialized set the '
TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.

However, the mark is uploaded but similarity of associated reports is incorrect, the relevant issue.


Related issues 1 (0 open1 closed)

Related to Klever - Bug #9017: Change of a converted error trace does not lead to assotiated leaf reports similarity recalculationClosedVladimir Gratinskiy06/27/2018

Actions
Actions

Also available in: Atom PDF