#88 Don't allow to create milestones that make the app crash
Opened 2 years ago by frantisekz. Modified a year ago

You can create a milestone that makes the app crash every time anybody tries to open the frontend.

It apparently happens when the milestone is not marked as final/beta or anything else. I'll investigate this later.

Traceback:

Apr 22 21:15:44 blockerbugs01.phx2.fedoraproject.org httpd[4589]: app          2019-04-22 21:15:44 ERROR   Exception on / [GET]
                                                                  Traceback (most recent call last):
                                                                    File "/usr/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
                                                                      response = self.full_dispatch_request()
                                                                    File "/usr/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
                                                                      rv = self.handle_user_exception(e)
                                                                    File "/usr/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
                                                                      reraise(exc_type, exc_value, tb)
                                                                    File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
                                                                      rv = self.dispatch_request()
                                                                    File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
                                                                      return self.view_functions[rule.endpoint](**req.view_args)
                                                                    File "/usr/lib/python2.7/site-packages/blockerbugs/controllers/main.py", line 173, in index
                                                                      return render_template('index.html', title='Fedora Blocker Bugs')
                                                                    File "/usr/lib/python2.7/site-packages/flask/templating.py", line 128, in render_template
                                                                      context, ctx.app)
                                                                    File "/usr/lib/python2.7/site-packages/flask/templating.py", line 110, in _render
                                                                      rv = template.render(context)
                                                                    File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
                                                                      return self.environment.handle_exception(exc_info, True)
                                                                    File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
                                                                      reraise(exc_type, exc_value, tb)
                                                                    File "/usr/lib/python2.7/site-packages/blockerbugs/templates/index.html", line 1, in top-level template code
                                                                      {% extends "base_nav.html" %}
                                                                    File "/usr/lib/python2.7/site-packages/blockerbugs/templates/base_nav.html", line 1, in top-level template code
                                                                      {% extends "layout.html" %} {% block info %} {% endblock %} {% macro navactive(name, subname='') -%} {%- if name == (request.path | getname) and subname == (request.path | getsubname)
                                                                    File "/usr/lib/python2.7/site-packages/blockerbugs/templates/layout.html", line 55, in top-level template code
                                                                      {% block navigation %}
                                                                    File "/usr/lib/python2.7/site-packages/blockerbugs/templates/base_nav.html", line 14, in block "navigation"
                                                                      <a class="nav-link" href="{{ url_for('main.display_buglist', num=ms.release.number, release_name=ms.version) }}"
                                                                    File "/usr/lib/python2.7/site-packages/flask/helpers.py", line 312, in url_for
                                                                      return appctx.app.handle_url_build_error(error, endpoint, values)
                                                                    File "/usr/lib/python2.7/site-packages/flask/app.py", line 1641, in handle_url_build_error
                                                                      reraise(exc_type, exc_value, tb)
                                                                    File "/usr/lib/python2.7/site-packages/flask/helpers.py", line 305, in url_for
                                                                      force_external=external)
                                                                    File "/usr/lib/python2.7/site-packages/werkzeug/routing.py", line 1620, in build
                                                                      raise BuildError(endpoint, values, method)
                                                                  BuildError: ('main.display_buglist', {'num': 31}, None)

Metadata Update from @frantisekz:
- Issue assigned to frantisekz

2 years ago

Metadata Update from @adamwill:
- Issue priority set to: High
- Issue tagged with: bug

a year ago

Login to comment on this ticket.

Metadata