create environment gives TypeError

Bug #1703174 reported by zhurong
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
zhurong

Bug Description

ERROR django.request Internal Server Error: /app-catalog/create_environment
Traceback (most recent call last):
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 42, in inner
    response = get_response(request)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/root/openstack/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/root/openstack/horizon/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/root/openstack/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch
    return handler(request, *args, **kwargs)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/edit.py", line 174, in get
    return self.render_to_response(self.get_context_data())
  File "/root/openstack/horizon/horizon/forms/views.py", line 141, in get_context_data
    context = super(ModalFormView, self).get_context_data(**kwargs)
  File "/root/openstack/horizon/horizon/forms/views.py", line 74, in get_context_data
    context = super(ModalFormMixin, self).get_context_data(**kwargs)
  File "/root/openstack/horizon/horizon/forms/views.py", line 55, in get_context_data
    context = super(ModalBackdropMixin, self).get_context_data(**kwargs)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/edit.py", line 93, in get_context_data
    kwargs['form'] = self.get_form()
TypeError: get_form() takes exactly 2 arguments (1 given)

zhurong (zhu-rong)
Changed in murano:
importance: Undecided → Critical
assignee: nobody → zhurong (zhu-rong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

Fix proposed to branch: master
Review: https://review.openstack.org/481894

Changed in murano:
status: New → In Progress
Changed in murano:
assignee: zhurong (zhu-rong) → Paul Bourke (pauldbourke)
Changed in murano:
assignee: Paul Bourke (pauldbourke) → zhurong (zhu-rong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/481894
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=ecb019b58b62d3fbc510506a35e38bdd1f8336fe
Submitter: Jenkins
Branch: master

commit ecb019b58b62d3fbc510506a35e38bdd1f8336fe
Author: zhurong <email address hidden>
Date: Sun Jul 9 16:08:30 2017 +0800

    Fix create environment TypeError

    Now create environment give the error:
    TypeError: get_form() takes exactly 2 arguments (1 given)

    This patch fix this.

    Change-Id: I4833b9c13249d547a91f13094b5764f788014dfb
    Closes-Bug: #1703174

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 4.0.0.0b3

This issue was fixed in the openstack/murano-dashboard 4.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.