Issue 11612

Title
dictionary changed size during iteration in Record.validate
Priority
bug
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
backport, review

Created on 2022-07-28.19:50:30 by ced, last changed 6 days ago by roundup-bot.

Messages

New changeset 6710582b4aa2 by Cédric Krier in branch 'default':
Iterate over copy of fields items in record validate
https://hg.tryton.org/tryton-env/rev/6710582b4aa2
New changeset fd0f35037e45 by Cédric Krier in branch 'default':
Iterate over copy of fields items in record validate
https://hg.tryton.org/tryton/rev/fd0f35037e45
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-07-28.19:50:29

The validation of the group fields may trigger to fetch the definition of new fields for the group.
So the iteration must be done on a copy to avoid runtime error.

History
Date User Action Args
2022-08-06 10:35:39roundup-botsetmessages: + msg77609
2022-08-06 10:35:36roundup-botsetmessages: + msg77608
nosy: + roundup-bot
status: testing -> resolved
2022-07-28 20:17:46reviewbotsetmessages: + msg77498
nosy: + reviewbot
2022-07-28 19:51:42cedsetkeyword: + backport, review
reviews: 417601003
status: in-progress -> testing
2022-07-28 19:50:30cedcreate

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