angular module load error occur when using developer panel

Bug #1657953 reported by Kenji Ishii
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

When I use Developer panel and not use profiler (OPENSTACK_PROFILER['enabled']=False), the error below would occur. Because Developer panel loads profiler module without any condition but 'horizon.dashboard.developer.profiler.headers' is not loaded.

Uncaught Error: [$injector:modulerr] Failed to instantiate module horizon.app due to:
Error: [$injector:modulerr] Failed to instantiate module horizon.dashboard.developer due to:
Error: [$injector:modulerr] Failed to instantiate module horizon.dashboard.developer.profiler due to:
Error: [$injector:unpr] Unknown provider: horizon.dashboard.developer.profiler.headers
http://errors.angularjs.org/1.5.8/$injector/unpr?p0=horizon.dashboard.developer.profiler.headers
    at http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:68:12
    at http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4511:19
    at getService (http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4664:39)
    at injectionArgs (http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4688:58)
    at Object.invoke (http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4710:18)
    at runInvokeQueue (http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4611:35)
    at http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4620:11
    at forEach (http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:321:20)
    at loadModules (http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4601:5)
    at http://localhost:8080/dashboard/static/horizon/lib/angular/angular.js:4618:40
・・・

Kenji Ishii (ken-ishii)
Changed in horizon:
assignee: nobody → Kenji Ishii (ken-ishii)
Changed in horizon:
status: New → Confirmed
importance: Undecided → Low
milestone: none → next
Akihiro Motoki (amotoki)
Changed in horizon:
assignee: Kenji Ishii (ken-ishii) → nobody
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.