blonkm / schoology-improved

Using the Schoology API to do things you can't using the web version
https://blonkm.github.io/schoology-improved/
3 stars 0 forks source link

no submission files shown for user when course uses linked sections #77

Closed blonkm closed 2 years ago

blonkm commented 2 years ago

To reproduce, go to a linked section course, and click on picture, then on the link for a user. Probably happens because there are no groups.

example: https://labs.bluekoala-aruba.com/schoology/groups.php?section=5849614951&userid=111790372&action=user

blonkm commented 2 years ago

This is a caching problem: assignments were set with completion status 'must view' instead of 'must make a submission'. That caused the default filter to fail. Once it was saved to the sqlite database, the api calls would never be made anymore (it has a default expiration of 1 year).

So, the solution was to set the assignments to 'must make a submission' and invalidate the cache (using 'reload' in menu).

Still, this warrents a new issue for the feature to be able to filter by completion status on the user page.