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

webservice: use string 'null' when recording_type is null #620

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

jrchamp
Copy link
Collaborator

@jrchamp jrchamp commented Sep 19, 2024

This allows the data to be loaded in the database and not throw an exception. In theory, the value should never be null, but somehow it is for one of our users. In the rare case where this occurs, Moodle may show the string "null", but I'm not too worried about that being the worst-case.

Fixes #619

Marking this as draft until we have a better idea of what's going on. It shouldn't cause any problems, but it would be nice to know more.

This allows the data to be loaded in the database and not throw an exception. In theory, the value should never be null, but somehow it is for one of our users. In the rare case where this occurs, Moodle may show the string "null", but I'm not too worried about that being the worst-case.
@jrchamp jrchamp added the bug Fixes problems or reduces technical debt label Sep 19, 2024
@jrchamp jrchamp requested a review from a team September 19, 2024 15:34
@jrchamp jrchamp self-assigned this Sep 19, 2024
@jrchamp jrchamp marked this pull request as ready for review September 26, 2024 18:23
Copy link
Contributor

@armccoy armccoy left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@jrchamp jrchamp merged commit fab6dd0 into main Sep 26, 2024
14 checks passed
@jrchamp jrchamp deleted the fix/recording-type-null-fallback branch September 26, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes problems or reduces technical debt
Projects
Status: No status
Status: Done
Development

Successfully merging this pull request may close these issues.

Task Fail: Get meeting recordings from Zoom: null value in column "recordingtype" violates not-null constraint
2 participants