Public bug reported:

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
・・・

** Affects: horizon
     Importance: Undecided
     Assignee: Kenji Ishii (ken-ishii)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Kenji Ishii (ken-ishii)

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

Title:
  angular module load error occur when using developer panel

Status in OpenStack Dashboard (Horizon):
  New

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
  ・・・

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to