Comment 0 for bug 1533910

Revision history for this message
Alan Fung (alanfung) wrote :

This issue is due to Dashboard.register is populating the panel_template_dirs for horizon template loader with the key "admin/users" for the Identity Users panel. However, TemplateLoader.get_template_sources would still look up "identity/users" for templates by convention (i.e. template "identity/users/index.html")

Steps to reproduce:

1. Move users panel to be under admin dashboard by modifying _3030_identity_users_panel.py
2. Set PANEL_GROUP = 'admin'
3. Set PANEL_DASHBOARD = 'admin'

Expected:

1. Users panel to be under Admin panel group in the navigation.
2. Users panel to load.

Actual:

1. Users panel under Admin panel group in the navigation.
2. Users panel would generate a TemplateDoesNotExist