From c5e9cec93335205a1b9cd32b0c78bb1bf537a0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 29 Feb 2024 16:58:19 +0100 Subject: [PATCH] Fix readonly questions (display_text, etc): the code did not handle them anymore on the app side --- src/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.py b/src/app.py index 17a285f24..931e8c97b 100644 --- a/src/app.py +++ b/src/app.py @@ -1168,6 +1168,9 @@ def app_install( # If packaging_format v2+, save all install questions as settings if packaging_format >= 2: for question in questions: + # Except readonly "questions" that don't even have a value + if question.readonly: + continue # Except user-provider passwords # ... which we need to reinject later in the env_dict if question.type == "password":