learningequality / studio

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

Unstable - Duplicated saved searches #4655

Closed pcenov closed 1 week ago

pcenov commented 3 weeks ago

Observed behavior

Observed while regression testing https://github.com/learningequality/studio/pull/4612. When I open my saved searches I can see that the newly created saved searches are duplicated.

Expected behavior

The saved searches should not be duplicated.

Steps to reproduce the issue

  1. Go to https://unstable.studio.learningequality.org/en/accounts/#/ and sign in
  2. Open a channel and click Add > Import from other channels
  3. Enter a search term and click the Search button
  4. Click the 'Save search link' and click on 'View saved searches' to see that the search is saved correctly
  5. Repeat the above steps and observe that when viewing the saved searches they are duplicated

Additional information

https://github.com/user-attachments/assets/a64c610e-0382-4e5a-8345-bfdae7420836

Console logs

reading split error.log

Usage Details

pcenov commented 3 weeks ago

@radinamatic

rtibbles commented 2 weeks ago

Technically, I don't think this is a regression, as it's not currently possible to save a search on production - but let's fix this anyway :)

rtibbles commented 2 weeks ago

Ah yes, definitely not a regression, as it was previously reported here: https://github.com/learningequality/studio/issues/3117