ajax with modal form will embed new page if redirect 302 happens

Bug #961863 reported by Andy Chong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Andy Chong

Bug Description

ajax could not process the 302 redirection properly
it will instead append the new redirected page content onto current page

steps to reproduce:
create a new volume -> attach it to an instance -> detach it from an instance

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/5665

Changed in horizon:
assignee: nobody → Andy Chong (andycjw)
status: New → In Progress
Devin Carlen (devcamcar)
Changed in horizon:
importance: Undecided → High
tags: added: essex-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/5665
Committed: http://github.com/openstack/horizon/commit/05b208f1046c96b69af44b1aff6a8c57f8a1b44d
Submitter: Jenkins
Branch: master

commit 05b208f1046c96b69af44b1aff6a8c57f8a1b44d
Author: Andy Chong <email address hidden>
Date: Thu Mar 22 13:34:40 2012 +0800

    Fix AJAX form posting that work incorrectly if get() in base views
    is overridden by subclass, e.g. EditRulesView and EditAttachmentsView
    if they don't add X-Horizon-Location custom headers if redirect is
    used. This mucking is probably the cleanest way to fix this in
    the meantime.

     * fix bug 961863

    Change-Id: I213e23a150b4afaba1249584e8cb3b376095533e

Changed in horizon:
status: In Progress → Fix Committed
Devin Carlen (devcamcar)
Changed in horizon:
milestone: none → essex-rc2
Devin Carlen (devcamcar)
tags: removed: essex-rc-potential
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-rc2 → 2012.1
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.