Tryton - Issues



Title Better error message when context is missing
Priority feature Status testing
Superseder Nosy List ced, reviewbot
Type feature request Components trytond
Assigned To ced Keywords review
Reviews 257921003
View: 257921003

Created on 2019-08-09.18:16:51 by ced, last changed by reviewbot.

review257921003 updated at
msg51224 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-08-09.18:16:50
A common mistake when using proteus is to call .search instead of .find. In such case most of the time, the error is dues to the missing context. But the error message is not very clear as it says usually: "AttributeError: 'list' object has no attribute 'keys'" (because the domain is used as context).
So I propose to have more meaningful error message that will guide user to the right direction.
Date User Action Args
2019-08-09 18:45:26reviewbotsetnosy: + reviewbot
messages: + msg51226
2019-08-09 18:19:59cedsetstatus: in-progress -> testing
reviews: 257921003
keyword: + review
2019-08-09 18:16:51cedcreate

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