gtk client crashes with warning in wizards
I've tested this issue on a 4.6 , but I would suspect default branch is also affected
To reproduce:
Add a user warning in, for example, the transition_upgrade method of the wizard ir.module.activate_upgrade .
When the warning appears, click on "Yes".
The GTK client crashes and I get the following in the client logs:
ERROR:tryton.common.common:Traceback (most recent call last):
File "/home/jeremy/workspace_b2ck/tryton/tryton/common/common.py", line 1207, in process
self.callback(return_)
File "/home/jeremy/workspace_b2ck/tryton/tryton/gui/window/wizard.py", line 104, in callback
if 'view' in result:
TypeError: argument of type 'NoneType' is not iterable
argument of type 'NoneType' is not iterable
DEBUG:tryton.rpc:[2]
INFO:tryton.rpc:wizard.ir.module.activate_upgrade.delete(8, {u'language_direction': u'ltr', u'groups': [1], u'language': u'fr_FR'})
DEBUG:tryton.rpc:None
ERROR:tryton.common.common:Traceback (most recent call last):
File "/home/jeremy/workspace_b2ck/tryton/tryton/common/common.py", line 1207, in process
self.callback(return_)
File "/home/jeremy/workspace_b2ck/tryton/tryton/gui/window/wizard.py", line 378, in end_callback
callback()
File "/home/jeremy/workspace_b2ck/tryton/tryton/gui/window/wizard.py", line 125, in
self.end(lambda *a: execute_actions())
File "/home/jeremy/workspace_b2ck/tryton/tryton/gui/window/wizard.py", line 115, in execute_actions
for action in result.get('actions', []):
AttributeError: 'list' object has no attribute 'get'
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
client_logs.txt | @jeremy.mousset | 2018-02-06 15:50:00.308000 UTC | text/plain |
server_logs.txt | @jeremy.mousset | 2018-02-06 15:50:15.590000 UTC | text/plain |