[galaxyproject/galaxy] cdae68: Fix exception if user preference value undefined
Branch: refs/heads/release_18.01 Home: https://github.com/galaxyproject/galaxy Commit: cdae68907bdacc4f290f561bff89f3b4525a7b4d https://github.com/galaxyproject/galaxy/commit/cdae68907bdacc4f290f561bff89f... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2018-03-08 (Thu, 08 Mar 2018) Changed paths: M lib/galaxy/tools/toolbox/filters/__init__.py Log Message: ----------- Fix exception if user preference value undefined Fixes the following traceback on main: ``` AttributeError: 'NoneType' object has no attribute 'strip' File "galaxy/web/framework/middleware/sentry.py", line 43, in __call__ iterable = self.application(environ, start_response) File "/cvmfs/main.galaxyproject.org/venv/lib/python2.7/site-packages/paste/recursive.py", line 85, in __call__ return self.application(environ, start_response) File "galaxy/web/framework/middleware/statsd.py", line 35, in __call__ req = self.application(environ, start_response) File "/cvmfs/main.galaxyproject.org/venv/lib/python2.7/site-packages/paste/httpexceptions.py", line 640, in __call__ return self.application(environ, start_response) File "galaxy/web/framework/base.py", line 136, in __call__ return self.handle_request(environ, start_response) File "galaxy/web/framework/base.py", line 215, in handle_request body = method(trans, **kwargs) File "galaxy/webapps/galaxy/controllers/root.py", line 110, in index config.update(self._get_extended_config(trans)) File "galaxy/webapps/galaxy/controllers/root.py", line 57, in _get_extended_config 'toolbox' : app.toolbox.to_dict(trans, in_panel=False), File "galaxy/tools/toolbox/base.py", line 963, in to_dict filter_method = self._build_filter_method(trans) File "galaxy/tools/toolbox/base.py", line 1004, in _build_filter_method filters = self._filter_factory.build_filters(trans) File "galaxy/tools/toolbox/filters/__init__.py", line 37, in build_filters if value.strip(): ``` Commit: 3ce1273d7cc447d9088f9c056649d16c188d509d https://github.com/galaxyproject/galaxy/commit/3ce1273d7cc447d9088f9c056649d... Author: Martin Cech <marten@bx.psu.edu> Date: 2018-03-08 (Thu, 08 Mar 2018) Changed paths: M lib/galaxy/tools/toolbox/filters/__init__.py Log Message: ----------- Merge pull request #5662 from mvdbeek/fix_build_filters [18.01] Fix exception if user preference value undefined Compare: https://github.com/galaxyproject/galaxy/compare/206182ea8f1a...3ce1273d7cc4
participants (1)
-
GitHub