Tryton - Issues

 

Issue8705

Title Random translations
Priority bug Status testing
Superseder Nosy List angel, ced, reviewbot
Type behavior Components trytond
Assigned To ced Keywords review
Reviews 260271002
View: 260271002

Created on 2019-10-03.14:38:43 by ced, last changed by reviewbot.

Messages
review260271002 updated at https://codereview.tryton.org/260271002/#ps260291002
msg52333 (view) Author: [hidden] (angel) Date: 2019-10-08.09:56:22
works with:
https://codereview.tryton.org/260271002/diff/264361002/trytond/ir/translation.py#newcode569
review260271002 updated at https://codereview.tryton.org/260271002/#ps264361002
msg52271 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-10-03.14:38:42
Since issue8034 where we removed the unique constraint on the translations, we can have random result if there are many records for the same translation.
I think it will be counter performant to try to avoid duplicates without using a unique constraint. For me, the best solution is to make selection of the translation record deterministic.
History
Date User Action Args
2019-10-10 15:09:19reviewbotsetmessages: + msg52381
2019-10-08 09:56:22angelsetnosy: + angel
messages: + msg52333
2019-10-03 15:14:16reviewbotsetnosy: + reviewbot
messages: + msg52272
2019-10-03 14:43:27cedsetstatus: in-progress -> testing
reviews: 260271002
keyword: + review
2019-10-03 14:38:43cedcreate

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