learningequality / learningequality/studio

Sync resources - Existing file thumbnails won't get synced and updated

Open
#3,113 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Observed behavior

If there is an existing document thumbnail it won't get updated after applying the Sync resources option.

Expected behavior

The thumbnail should be updated correctly with the latest one.

Steps to reproduce the issue

  1. Create a channel A and channel B.
  2. Upload a file in channel A, add a thumbnail and then import the same file in channel B.
  3. Change the thumbnail of the file in channel A and click the Finish button.
  4. Go to channel B, click the Sync resources menu item, select all four checkboxes and confirm.
  5. Compare the thumbnail for the same file in channel A and B.

Additional information

115595377-83f1ca00-a2df-11eb-9a33-d7e05881ed0b

Usage Details

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reproducing the issue with two channels and the Sync resources flow, then inspect the resource synchronization entry point responsible for thumbnails. Done means changing a file thumbnail in channel A and syncing channel B produces matching thumbnails.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.