Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Site Sync: small fixes in Loader#6119

Merged
kalisp merged 6 commits intodevelopfrom
bugfix/site_sync_issues_in_loader
Jan 12, 2024
Merged

Site Sync: small fixes in Loader#6119
kalisp merged 6 commits intodevelopfrom
bugfix/site_sync_issues_in_loader

Conversation

@kalisp
Copy link
Copy Markdown
Member

@kalisp kalisp commented Jan 11, 2024

Changelog Description

Resolves issue:

  • local and studio icons were same, they should be different
  • TypeError: string indices must be integers error when downloading/uploading workfiles

Testing notes:

  1. enable Site Sync for your project (must be enabled in Studio settings and Project Settings too!)
  2. set in Local settings active_site to 'local' and remote_site to 'studio`
  3. check Availability icons in Ayon Loader
  4. try do download workfile

Returned item is dictionary of version_id: links, previous loop was looping through [[]].
local and studio have both same provider, local_drive. Both of them should be differentiate by icon though.
@kalisp kalisp requested a review from LiborBatek January 11, 2024 15:01
@ynbot ynbot added type: bug Something isn't working size/XS Denotes a PR changes 0-99 lines, ignoring general files labels Jan 11, 2024
Icon_def is dictionary with `type` and `path` keys, not directly 'path'.
It must be massaged first.
kalisp and others added 2 commits January 12, 2024 10:39
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
@kalisp kalisp merged commit 0461540 into develop Jan 12, 2024
@kalisp kalisp deleted the bugfix/site_sync_issues_in_loader branch January 12, 2024 09:44
@ynbot ynbot added this to the next-patch milestone Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size/XS Denotes a PR changes 0-99 lines, ignoring general files type: bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants