learningequality / studio

Content curation tools for Kolibri
https://studio.learningequality.org/
MIT License
110 stars 160 forks source link

Unstable - Channel with imported resources changes to 'Unpublished View-only' #4647

Open pcenov opened 4 weeks ago

pcenov commented 4 weeks ago

Observed behavior

If I create a new channel and import some resources from one of my other channels then when I open both channels in 2 separate browser tabs I am seeing a 'Unpublished View-only' text for a channel with imported resources and the following error in the console: Uncaught (in promise) TypeError: Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.

Expected behavior

It should be possible to keep editting a channel with imported resources when using multiple browser tabs.

Steps to reproduce the issue

  1. Go to https://unstable.studio.learningequality.org/en/accounts/#/ and sign in
  2. Create a new channel and import some resources from one of your existing channels
  3. Open both channels in 2 separate browser tabs and observe the incorrect behavior

Additional information

https://github.com/user-attachments/assets/088f497c-b4d4-418e-8d8e-f9d97709e28c

Console logs

invalid_key.log

Usage Details

pcenov commented 4 weeks ago

@radinamatic