ayon-backend icon indicating copy to clipboard operation
ayon-backend copied to clipboard

Site Settings: not available `settings_variant` value

Open kalisp opened this issue 8 months ago • 0 comments

Story

Deadline Site Settings are using dynamic enumerator to pull values from Studio Settings to populate dropdown. That stopped working.

It seems that it because magical settings_variant variable here https://github.com/ynput/ayon-core/blob/develop/server_addon/deadline/server/settings/main.py#L27 is None when triggered from Site Settings

To reproduce

  1. rename DL server name ayon+settings://deadline/deadline_urls image
  2. Go to Site Settings and print settings_variant in ayon-docker/addons/deadline/0.1.12/server/settings/main.py.defined_deadline_ws_name_enum_resolver image
  3. In Studio Settings tab it currently prints name of bundle, in Site Settings it prints None

Expected behavior

It should probably return production value and query Production bundle

Environment

  • Server version: 1.1.3+DEVELOP
  • Server host OS: Win

kalisp avatar May 28 '24 13:05 kalisp