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

Use full course name in CourseAndExerciseManager.isCourseInDatabase, not the Course Title. #143

Open
rlmhermans opened this issue Aug 28, 2018 · 2 comments
Assignees

Comments

@rlmhermans
Copy link

When I'm in the teacher role for a certain course with Advanced Unlock Conditions set, the TMC plugin behaves unexpectedly. I can log in just fine, and the plugin shows the full exercise download list, although I can see the exercises of week 8 onwards are locked. They do not actually download, and when I open the first exercise I get an empty exercise list, and the upload exercise command does not work.

When I'm in the same course on a different account without the teacher role, it works as expected.

@rlmhermans
Copy link
Author

I removed the unlock conditions and the problem persists. Additionally, I am also the course creator.

@rlmhermans
Copy link
Author

Solved: the course title was the exact same course title as the one I used last year. I submitted exercises for that on the account I am using. There probably was a conflict because of this for the plugin. I suggest using the full course name in fi.helsinki.cs.tmc.intellij.services.exercises.CourseAndExerciseManager.isCourseInDatabase.

@rlmhermans rlmhermans changed the title Teacher Role not working well with Advanced Unlock Conditions Use full course name in CourseAndExerciseManager.isCourseInDatabase, not the Course Title. Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants