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

None Data Exception #2

Closed
tiaradwiputri opened this issue Jan 24, 2019 · 2 comments
Closed

None Data Exception #2

tiaradwiputri opened this issue Jan 24, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@tiaradwiputri
Copy link
Collaborator

NULL data on response

Got an error when logging in with [email protected], supposedly caused by single_response.html can't handle NULL exception. Some of the satisfaction_score was left blank on earlier survey.

NULL data on workshop

Got an error when logging in with [email protected], supposedly caused by analytics.py can't handle NULL exception for class size in workshop table.

@onlyphantom
Copy link
Owner

The easiest fix I can think of for the second scenario is to set the fields to be nullable=False. This means the admin has to add a workshop hour, class size etc each time he/she creates a workshop.

On the first issue: Nice catch! Wasn't aware of it earlier but will look into it

@onlyphantom onlyphantom added the bug Something isn't working label Jan 25, 2019
@tiaradwiputri
Copy link
Collaborator Author

Updating all NULL value in satisfaction score as 3 and venue score as 4 (average score received). All upcoming workshop should no longer has this issue since all workshop response is created through pedagogy apps and will have NULL restriction in submitting forms.

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