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.
Updated by Ilja Zakharov over 6 years ago
- Related to Bug #9017: Change of a converted error trace does not lead to assotiated leaf reports similarity recalculation added
Updated by Evgeny Novikov over 6 years ago
- Priority changed from Urgent to Immediate
This is definitely a regression.
Updated by Vladimir Gratinskiy over 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed in "fix_marks".
Updated by Evgeny Novikov over 6 years ago
- Status changed from Verified to Closed
I merged the branch to master in aa3e6cc8.