← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331271] Re: NoReverseMatch: u"'horizon" is not a registered namespace

 

** Changed in: horizon
   Importance: Undecided => High

** Also affects: horizon/icehouse
   Importance: Undecided
       Status: New

** Changed in: horizon/icehouse
       Status: New => Fix Committed

** Changed in: horizon/icehouse
     Assignee: (unassigned) => Julie Pichon (jpichon)

** Changed in: horizon/icehouse
   Importance: Undecided => High

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

Title:
  NoReverseMatch: u"'horizon" is not a registered namespace

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) icehouse series:
  Fix Committed

Bug description:
   CentOS 6.5 with Icehouse OpenStack controller running latest stable yum  version of horizon.  when I click on the pseudo-folder of container, Following error will display:
  NoReverseMatch: u"'horizon" is not a registered namespace

  simular problem with
   https://bugs.launchpad.net/horizon/+bug/1312222
  https://bugs.launchpad.net/horizon/+bug/1296273

  but impact source file is :
  /usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/containers/templates/containers/index.html

  Update index.html lline 16&21 as following, then the pseudo-folder could be displayed correctly:
  line 16, change it  from 
  <a href="{% url 'horizon:project:containers:index' %}{{ container_name }}/">{{ container_name }}</a> : /
  to
  <a href="{% url horizon:project:containers:index %}{{ container_name }}/">{{ container_name }}</a> : /

  line 21,change it from 
  <a href="{% url 'horizon:project:containers:index' %}{{ container_name }}/{{ folder.1 }}">{{ folder.0 }}</a> /
  to 
  <a href="{% url horizon:project:containers:index %}{{ container_name }}/{{ folder.1 }}">{{ folder.0 }}</a> /

  
  BTW: The pseudo-folder couldn't be delete which is related to another exists bug:"
             https://bugs.launchpad.net/horizon/+bug/1317016

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


References