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

Check that starting and ending times are not None #1186

Merged
merged 1 commit into from
May 30, 2023

Conversation

lainets
Copy link
Contributor

@lainets lainets commented May 30, 2023

Description

What?

Check that starting and ending time are not None.

Why?

Admin page crashed when creating new course instance with empty date fields.

How?

Check that starting and ending time are not None.

Fixes #1174

Testing

Did basic checks that it doesn't crash anymore and can still create new instances.

Is it Done?

  • Reviewer has finished the code review
  • After the review, the developer has made changes accordingly
  • Customer/Teacher has accepted the implementation of the feature

@markkuriekkinen markkuriekkinen self-assigned this May 30, 2023
@markkuriekkinen markkuriekkinen self-requested a review May 30, 2023 17:15
@markkuriekkinen markkuriekkinen merged commit 4db0acb into apluslms:master May 30, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Empty date fields when adding a course instance results in 500 internal server error
2 participants