Issue 11437

Title
Language cache on translation may depend only on language
Priority
feature
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-04-25.16:55:45 by ced, last changed 2 months ago by roundup-bot.

Messages

New changeset 94a4ed6a628b by Cédric Krier in branch 'default':
Do not depend on the context for get_language cache
https://hg.tryton.org/tryton-env/rev/94a4ed6a628b
New changeset 05674a0ed7ea by Cédric Krier in branch 'default':
Do not depend on the context for get_language cache
https://hg.tryton.org/trytond/rev/05674a0ed7ea
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-04-25.16:55:44

The get_language depends only on the language so its cache may be too often invalid when called (for example when creating a record with translated fields).
So it will be better that the Cache instance does not depend on the context.

History
Date User Action Args
2022-05-19 22:11:09roundup-botsetmessages: + msg76734
2022-05-19 22:11:05roundup-botsetmessages: + msg76733
nosy: + roundup-bot
status: testing -> resolved
2022-04-25 16:57:06reviewbotsetmessages: + msg76166
nosy: + reviewbot
2022-04-25 16:56:40cedsetkeyword: + review
reviews: 378791003
status: in-progress -> testing
2022-04-25 16:55:45cedcreate

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