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

Sometimes entries "disappear" from the courses menu? #17

Open
s-edwards opened this issue Aug 30, 2013 · 2 comments
Open

Sometimes entries "disappear" from the courses menu? #17

s-edwards opened this issue Aug 30, 2013 · 2 comments
Assignees
Labels

Comments

@s-edwards
Copy link
Member

It appears that sometimes when new students login and enroll in a course, but then the course would disappear from the dropdown in the main navigation menu (there would be no courses in their dropdown nav list). This does not affect all users, and apparently logging out and back in clears the problem. It may be load-related (if many people are signing up at the same time)?

@s-edwards
Copy link
Member Author

Clarification: this behavior was caused by (a) students logging in, then (b) an instructor enrolling the student in a course offering. However, the home page did not show the student's new enrollment information--it appeared to the student that they were not enrolled in any course. Logging out and back in fixed the issue, which was apparently due to stale relationship info fetched into the student's session (i.e., the student's enrollment relationship wasn't refetched when visiting the home page).

Perhaps forcing a refetch of the user's enrollment relationship on page load on the home page would fix the problem? If proposed changes to the main menu are implemented, this would be the primary place where users would select different course offerings, and so is the main place where this refetch would be needed.

@ghost ghost assigned ArturAguiar Sep 4, 2013
@ArturAguiar
Copy link
Member

I was unable to replicate this since I can't find a way to be logged in as a student and an instructor at the same time in development.
Is this still an issue with the current state of the drop-down menu?

ArturAguiar added a commit that referenced this issue Oct 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants