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 some bugs in opencast connection handling #615

Merged
merged 1 commit into from
May 11, 2020

Conversation

LukasKalbertodt
Copy link
Member

  • Due to the timeout introduced in Regularly request info/me and avoid waiting for initial request for a long time #610, saving settings on slow
    connections failed. The timeout logic didn't really belong into
    init anyway.
  • updateGlobalInstance had a bug because we didn't update it when
    introducing the LTI state. Since that method needs updating often
    and forgetting it can lead to strange bugs, the "changed?" check is
    simply removed. This might lead to a few extra rerenders, but it's
    way better than bugs.

- Due to the timeout introduced in elan-ev#610, saving settings on slow
  connections failed. The timeout logic didn't really belong into
  `init` anyway.
- `updateGlobalInstance` had a bug because we didn't update it when
  introducing the LTI state. Since that method needs updating often
  and forgetting it can lead to strange bugs, the "changed?" check is
  simply removed. This might lead to a few extra rerenders, but it's
  way better than bugs.
@LukasKalbertodt LukasKalbertodt merged commit 821c33b into elan-ev:master May 11, 2020
@LukasKalbertodt LukasKalbertodt deleted the fix-opencast-state branch May 11, 2020 15:58
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.

1 participant