LazeMSS / OctoPrint-UICustomizer

UI Customizer for octoprint
164 stars 18 forks source link

Critical Failure on Saving #54

Closed jneilliii closed 3 years ago

jneilliii commented 3 years ago

Description

image

packed_core.js?8be92d93:795 Error calling onSettingsHidden on view model UICustomizerViewModel : TypeError: Cannot read property 'destroy' of undefined
    at UICustomizerViewModel.self.onSettingsHidden (http://192.168.0.120/static/webassets/packed_plugins.js?d3730ba7:23926:73)
    at callViewModelIf (http://192.168.0.120/static/webassets/packed_core.js?8be92d93:794:126)
    at http://192.168.0.120/static/webassets/packed_core.js?8be92d93:788:138
    at Pn (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:94753)
    at Function.<anonymous> (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:105184)
    at callViewModelsIf (http://192.168.0.120/static/webassets/packed_core.js?8be92d93:788:95)
    at callViewModels (http://192.168.0.120/static/webassets/packed_core.js?8be92d93:787:56)
    at HTMLDivElement.<anonymous> (http://192.168.0.120/static/webassets/packed_core.js?8be92d93:242:848)
    at HTMLDivElement.dispatch (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:43090)
    at HTMLDivElement.v.handle (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:41074)
    at Object.trigger (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:71513)
    at HTMLDivElement.<anonymous> (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:72108)
    at Function.each (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:2976)
    at S.fn.init.each (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:1454)
    at S.fn.init.trigger (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:72084)
    at Modal.hideModal (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:560:22)
    at HTMLDivElement.<anonymous> (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:559:605)
    at HTMLDivElement.i (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:40056)
    at HTMLDivElement.dispatch (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:43090)
    at HTMLDivElement.v.handle (http://192.168.0.120/static/webassets/packed_libs.js?ab739628:1:41074)
    at HTMLDivElement.sentryWrapped (http://192.168.0.120/static/webassets/packed_core.js?8be92d93:457:45795)

Plugins installed

UI Customizer settings

Software versions

Browser

peterwup commented 3 years ago

Same problem for me:

Description

**ENTER DESCRIPTION HERE Describe your problem: Open Plugin configuration of "UI Customizer". Select "Save" without any change. Get the error message shown by jneilliii What is the problem? see error message Can you recreate it? yes Did you try disabling plugins? yes, problem solved if "Fullscreen Plugin[fullscreen] v0.0.6" is disabled !


Plugins installed

UI Customizer settings

Software versions

Browser

rebeltaz commented 3 years ago

Same issue here after upgrade to latest release.

jneilliii commented 3 years ago

I had to revert back to version 0.1.1.8 in order for the plugin to not error onSettingsShown/onSettingsHidden in the console by copying/pasting the URL below into plugin manager > get more > ...from URL and clicking install.

https://github.com/LazeMSS/OctoPrint-UICustomizer/archive/0.1.1.8.zip
LazeMSS commented 3 years ago

@jneilliii tried deleting data from my plugin? I would really love a teamviewer preview of whats happening.

LazeMSS commented 3 years ago

Bug has been found - can be solved temporarily by deleting the settings from the plugin.