Skip to content

Commit 926a08c

Browse files
committed
🚧 [#5139] Replace DataContainer with FormioData instance in get_dynamic_configuration
1 parent e5db653 commit 926a08c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/openforms/formio/dynamic_config/date.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def calculate_delta(
114114
) -> datetime | None:
115115
assert config["mode"] == "relativeToVariable"
116116

117-
base_value = glom(data, config["variable"], default=None)
117+
base_value = data.get(config["variable"])
118118
if not base_value:
119119
return
120120

src/openforms/submissions/form_logic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def evaluate_form_logic(
127127
# expected, but that currently breaks a lot of tests...
128128
request=context.get("request"),
129129
submission=submission,
130-
data=data_container.data,
130+
data=FormioData(data_container.data_without_to_python),
131131
)
132132

133133
# 7.1 Apply the component mutation operations

0 commit comments

Comments
 (0)