Skip to content

Commit

Permalink
fix: bundle gui-submit fails loading bundles with saved queue paramet…
Browse files Browse the repository at this point in the history
…er values (#360)

Signed-off-by: Evan Spearman <[email protected]>
  • Loading branch information
evanspearman-a authored Jun 21, 2024
1 parent 1c91e90 commit a2c1f2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/deadline/client/ui/widgets/openjd_parameters_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ def rebuild_ui(
if ":" in parameter["name"]:
continue

# Skip any parameters that do not have a type defined.
# This can happen when a queue environment parameter was
# saved to the bundle, but the template itself does not contain
# that parameter.
if "type" not in parameter:
continue

control_type_name = get_ui_control_for_parameter_definition(parameter)

if parameter["type"] == "INT" and control_type_name == "SPIN_BOX":
Expand Down

0 comments on commit a2c1f2d

Please sign in to comment.