Launch Instance button does not open the corresponding workflow on network topology page

Bug #1494503 reported by Lucas Palm
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Justin Pomeroy

Bug Description

Steps to Reproduce:
1. Ensure that the Angular Launch Instance workflow is enabled in your local_settings.py file.
LAUNCH_INSTANCE_NG_ENABLED = True

2. Go to Project-->Network-->Network Topology tab.

3. Click on the "Launch Instance" button and view that the result is just "Loading..." when instead the angular launch instance workflow should show up.

View the attached image for more detail.

Note: The error only occurs when using the new angular launch instance workflow. The old legacy workflow works just fine.

The following errors are emitted to the browser console:

Uncaught TypeError: Cannot read property 'modal' of null
    $document.on.horizon.modals._request.$.ajax.complete

Uncaught TypeError: Cannot read property 'get' of undefined
Uncaught TypeError: Cannot read property 'get' of undefined

Revision history for this message
Lucas Palm (lapalm) wrote :
description: updated
David Lyle (david-lyle)
Changed in horizon:
status: New → Confirmed
importance: Undecided → High
milestone: none → liberty-rc1
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: nobody → Justin Pomeroy (jpomero)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/222426
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=e458f60d6fd1044919e764c58d0769b246d76572
Submitter: Jenkins
Branch: master

commit e458f60d6fd1044919e764c58d0769b246d76572
Author: Justin Pomeroy <email address hidden>
Date: Thu Sep 10 19:58:21 2015 -0500

    Fix ng Launch Instance button in Network Topology

    This cleans up the anchor tag on the Network Topology page that is
    used to open the angular Launch Instance modal. Basically it adds
    the href to make it accessible, removes the ajax-modal class so the
    modal opens properly, and removes the dismissUrl since dismissing
    the modal should leave the user where they are.

    Closes-Bug: #1494503
    Change-Id: Ia6caf8fd4f0eceedf3046125780a3e013eacf0f1

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-rc1 → 8.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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