← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1597353] [NEW] TabbedTable redirection is broken in Horizon after switch to Django 1.9

 

Public bug reported:

Horizon uses URL query for specifying which tab in a tabbed table should
be visible, see
https://github.com/openstack/horizon/blob/10.0.0.0b1/openstack_dashboard/dashboards/project/volumes/urls.py#L30-L36

This worked until Django 1.9 came in. Now `reverse()` on such URLs
escapes the '?' sign (a query part delimiter), which leads to
TabbedTables always opening on first tab and URL redirection not
working.

While obviously we have to invent a better solution, in the meantime it
would be better to change integration tests expectations which fail due
to the proper tab not opening in some scenarios.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: integration-tests

** Tags added: integration-tests

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1597353

Title:
  TabbedTable redirection is broken in Horizon after switch to Django
  1.9

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Horizon uses URL query for specifying which tab in a tabbed table
  should be visible, see
  https://github.com/openstack/horizon/blob/10.0.0.0b1/openstack_dashboard/dashboards/project/volumes/urls.py#L30-L36

  This worked until Django 1.9 came in. Now `reverse()` on such URLs
  escapes the '?' sign (a query part delimiter), which leads to
  TabbedTables always opening on first tab and URL redirection not
  working.

  While obviously we have to invent a better solution, in the meantime
  it would be better to change integration tests expectations which fail
  due to the proper tab not opening in some scenarios.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1597353/+subscriptions