Bug #9019
closedDownloading and uploading of marks does not work
100%
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.