graasp / graasp/graasp-desktop

even if space cannot be seen updating version doesn't allow downloading new space if it was previously there

Open
#331 1 comment 0 reactions 1 assignee Claimed by @pyphilia View on GitHub
bug
Dominant language
JavaScript
Stars
8
Forks
7
PR merge metrics
No merged PRs in 30d

Description

In the new version, old spaces are not visible, even if they are still in the database.

When a teacher tries to download a space, if it is in the database (even if it's not visible), it throws the duplicate error.

What should happen is that either (1) when update happens / app is opened, a safety check runs so that "orphan" spaces are made visible, (2) when update happens / app is opened, a safety check runs so that "orphan" spaces get deleted, (2) when download is attempted, if space is there, it gets deleted and the new space is downloaded. Or maybe something else?

To consider: are files also necessary to deal with?

To reproduce:

1. Using an old Graasp Desktop, say 15.0.
2. Save a space.
3. Update to new Graasp Desktop 15.5+.
4. Try to save space.

Expected Output:

Space appears on the saved spaces tab.

Actual Output:

Duplicate error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.