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

fix: Caliper transform of video events without duration #315

Merged
merged 2 commits into from Jul 11, 2023

Conversation

bmtcril
Copy link
Contributor

@bmtcril bmtcril commented Jun 29, 2023

Description: Fixes #310 which was reported here: #301 (review)

Author concerns: I wasn't able to test this, or write a new test for it since it seems like an existing test should have already caught this. I'm not quite sure what the difference was in @ziafazal 's test, but this change seems harmless and obviously worked for him.

@bmtcril bmtcril requested a review from ziafazal June 29, 2023 19:42
@bmtcril bmtcril force-pushed the bmtcril/fix_caliper_no_duration branch from e3683c3 to 7dcaa05 Compare June 29, 2023 19:50
Copy link
Contributor

@ziafazal ziafazal left a comment

Choose a reason for hiding this comment

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

@bmtcril I think we can reproduce error if set duration attribute in any of the video interaction events like edx.video.closed_captions.hidden to null. It appears some of the events in tracking log had duration set to null which caused that error.

@bmtcril bmtcril merged commit bc672fb into master Jul 11, 2023
7 checks passed
@bmtcril bmtcril deleted the bmtcril/fix_caliper_no_duration branch July 11, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Issues with video events that have no duration
2 participants