Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Sync: small fixes in Loader #6119

Merged
merged 6 commits into from Jan 12, 2024
Merged

Conversation

kalisp
Copy link
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.
@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
3 checks passed
@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 join this conversation on GitHub. Already have an account? Sign in to comment
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.

None yet

3 participants