diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ae44a6..c07cb5b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # OctoPrint Changelog +## 1.2.17rc4 (2016-10-17) + +### Bug fixes + + * Properly handle empty JS file list from plugins. Solves a 500 on OctoPrint instances without any third party plugins installed generated during web asset bundling introduced in 1.2.17rc2. + +([Commits](https://github.com/foosel/OctoPrint/compare/1.2.17rc3...1.2.17rc4)) + ## 1.2.17rc3 (2016-10-13) ### Bug fixes diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index b1e4692d..873122e5 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -1058,6 +1058,8 @@ class Server(object): "js/app/helpers.js", "js/app/main.js"] js_plugins = dynamic_plugin_assets["external"]["js"] + if len(js_plugins) == 0: + js_plugins = ["empty"] js_app = js_plugins + js_core css_libs = [