You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
migrate_state function always unlocks an editable attribute, because the code below is executed even if there are no cell.metadata.run_control.read_only.
I also found the error below, it seems that there are no checking whether the attribute is defined... the PR includes its fix also.
[Freeze] Error: TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at set_state (main.js?v=20170424120221:115)
at initialize_states (main.js?v=20170424120221:154)
at do_stuff_with_config (main.js?v=20170424120221:191)
migrate_state
function always unlocks an editable attribute, because the code below is executed even if there are nocell.metadata.run_control.read_only
.https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/master/src/jupyter_contrib_nbextensions/nbextensions/freeze/main.js#L59
As a result, the editable metadata is set to true, and the get_state function returns
normal
for the cell after reloaded.I assume that it is executed only when the metadata has
run_control.read_only
(with old metadata format).The text was updated successfully, but these errors were encountered: