Don't use a nested context dictionary to evaluate record expression
The nested context dictionary override the value of the fields. issue2506
This commit is contained in:
1 parent
4517e4495c
commit
3e65c63710
1 file changed
+1
-1
@@ -447,7 +447,7 @@ class Record(SignalEvent):
|
||||
if check_load:
|
||||
self._check_load()
|
||||
ctx = rpc.CONTEXT.copy()
|
||||
ctx['context'] = ctx
|
||||
ctx['context'] = ctx.copy()
|
||||
for name, field in self.group.fields.items():
|
||||
ctx[name] = field.get_eval(self, check_load=check_load)
|
||||
|
||||
|
||||
Reference in new issue
Block a user