Skip to content

Conversation

minrk
Copy link
Member

@minrk minrk commented Dec 2, 2016

rather than throwing handler errors in the call to .trigger(),
which I think we don't expect to happen (at least our code suggest we don't).

Extensions can register buggy event handlers. These should not be able to cause failures in the event-triggering code paths.

This should fix several avenues by which extensions (or other bugs) could prevent a notebook from loading.

This closes #1602 in that the bug doesn't prevent notebook loading, but it doesn't fix the original error @parente is seeing. I don't fully understand the cause there, because notebook loading doesn't start before the page has finished loading.

rather than throwing handler errors in the call to `.trigger()`

Extensions can register buggy event handlers.
These should not be able to cause failures in the event-triggering code paths.

This should fix several avenues where extensions (or other bugs) could prevent a notebook from loading.
@minrk minrk added this to the 4.3 milestone Dec 2, 2016
@takluyver
Copy link
Member

Sounds like a good idea to me. I'll leave this for a little while for other people to look at.

@takluyver takluyver merged commit 27a2c50 into jupyter:master Dec 4, 2016
takluyver added a commit that referenced this pull request Dec 4, 2016
rather than throwing handler errors in the call to `.trigger()`,
which I think we don't expect to happen (at least our code suggest we don't).

Extensions can register buggy event handlers. These should not be able to cause failures in the event-triggering code paths.

This should fix several avenues by which extensions (or other bugs) could prevent a notebook from loading.

This closes #1602 in that the bug doesn't prevent notebook loading, but it doesn't fix the original error _parente is seeing. I don't fully understand the cause there, because notebook loading doesn't start before the page has finished loading.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

document is null error, prevents notebook saving

2 participants