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

[BUG] Dashboard error (serveur 500) when no student did join the pltp #546

Open
nborie opened this issue Oct 8, 2023 · 2 comments
Open
Assignees
Labels
Bug Something isn't working

Comments

@nborie
Copy link
Collaborator

nborie commented Oct 8, 2023

All Dashboard fails at running when no student belong the associated pltp. The error is serveur 500 (probably a division by zero when no student belong to the pltp).

We have some pltp with 50 teachers and no student (like in Platon Entraide) thus it could be fine to fix that...

@nborie nborie added the Bug Something isn't working label Oct 8, 2023
@NewMeeh NewMeeh self-assigned this Oct 9, 2023
@NewMeeh
Copy link
Contributor

NewMeeh commented Oct 9, 2023

Fixed #547 with this commit e2d79ae.

@NewMeeh NewMeeh closed this as completed Oct 9, 2023
@NewMeeh NewMeeh reopened this Oct 19, 2023
@NewMeeh
Copy link
Contributor

NewMeeh commented Oct 19, 2023

Still have 500 error for the survey activity. Yet it is not because no student joined the pltp.

It is because the survey activity doesn't allow you to use several group of items.

There can be multiple question but only one set of available answers.

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

2 participants