← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1394800] Re: Potential undefined object issue in angular horizon.js

 

** Changed in: horizon
       Status: Incomplete => Invalid

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

Title:
  Potential undefined object issue in angular horizon.js

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  If you look at the horizon.js
  (https://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/angular/horizon.js),
  you will notice that horizon.conf is being assigned by hzConfig during
  the run function.

  I was trying to add a provider which also rely on hzConfig and the provider is created under the same hz module. 
  (https://gist.github.com/kahou82/86578bcc64cdf5919ec3#file-horizon-js-L8). 

  Since the horizon.conf is being assigned AFTER the provider is create,
  my provider will have undefined object error.

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


References