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

Correctly report activity access issues #178

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

szschaler
Copy link
Contributor

This PR fixes a problem whereby accessing a non-existing activities.json or a file where the permissions were missing would not lead to an error being reported to the user but would quietly crash the token server and the platform.

In the PR, the token server correctly reports the issue and the platform correctly raises an error to the user rather than trying to process the activity specification.

@szschaler szschaler self-assigned this Feb 13, 2024
@szschaler szschaler added the bug Something isn't working label Feb 13, 2024
Copy link
Collaborator

@barnettwilliam barnettwilliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally good one question

@szschaler szschaler merged commit 4f6b477 into main Feb 14, 2024
2 checks passed
@szschaler szschaler deleted the fix/correctly-report-activity-access-issues branch February 14, 2024 09:44
barnettwilliam added a commit to mdenet/educationplatform-docker that referenced this pull request Feb 18, 2024
…token server use ref when loading files, mdenet/educationplatform#178 token server correctly report activity access issues, mdenet/educationplatform#176 resolve activity buttons without tool buttons, mdenet/educationplatform#175 report all errors on startup, mdenet/platformtools#59 added endpoint documentation, and mdenet/platformtools#57 xmi support for epsilon editor config.
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
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants