Tryton - Issues

 

Issue7833

Title Error with drag and drop to reorder on category tree view.
Priority bug Status unread
Superseder Nosy List fmorato
Type crash Components tryton
Assigned To Keywords
Reviews

Created on 2018-11-02.14:22:22 by fmorato, last changed by ced.

Messages
msg44720 (view) Author: [hidden] (fmorato) Date: 2018-11-02.14:22:20
Following discussion started on https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/

Python 3.5.3
tryton 5.1.0

On a category tree view, dragging and dropping throws an error.

ERROR:tryton.common.common:  File "tryton/tryton/gui/window/view_form/view/list.py", line 776, in drag_data_received
    data = json.loads(selection_data)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))

the JSON object must be str, not 'bytes'
History
Date User Action Args
2018-11-02 17:11:16cedsettype: crash
2018-11-02 14:22:22fmoratocreate

Showing 10 items. Show all history (warning: this could be VERY long)