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

Unclear circular learning path #2546

Open
dwalizer opened this issue Apr 2, 2024 · 0 comments
Open

Unclear circular learning path #2546

dwalizer opened this issue Apr 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dwalizer
Copy link
Collaborator

dwalizer commented Apr 2, 2024

A situation can arise where a circular learning path can occur but the message warning the user of it is unclear.

Steps:

  • Create a new project
  • Create two subjects
  • In Subject 1, create 5 skills (Skill 1 through Skill 5)
  • In Subject 2, create skills 6 through 10
  • In the learning path, add Skill 6 as a prerequisite for both Skill 5 and Skill 7
  • Add Skill 5 as a prerequisite for Skill 9
  • Add Skill 7 as a prerequisite for Skill 8
  • Create two badges
  • In Badge 1, add Skill 1 and Skill 5
  • In Badge 2, add Skill 6 through 10
  • In the learning path, attempt to add Skill 9 as a prerequisite of Skill 10

You should get an error about the circular learning path, indicating that Skill 10 is already in the learning path, even though it is not visibly present. Additionally, attempting to copy the project will fail, as it will turn out that a circular learning path already exists. This should've been prevented from happening both on the Learning Path page and the Badge page.

@dwalizer dwalizer added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant