← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1579262] Re: Angular registry - Cannot read property 'itemActions' of undefined

 

** Changed in: searchlight
       Status: In Progress => Fix Released

** Changed in: searchlight
    Milestone: None => newton-1

** Changed in: searchlight
   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/1579262

Title:
  Angular registry - Cannot read property 'itemActions' of undefined

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Search (Searchlight):
  Fix Released

Bug description:
  If you attempt to use initActions for a resource type that hasn't been
  registered, and error is thrown:

  angular.js:11707 TypeError: Cannot read property 'itemActions' of undefined
      at Object.initActions (http://127.0.0.1:8005/static/framework/conf/resource-type-registry.service.js:265:42)
      at http://127.0.0.1:8005/static/dashboard/project/search/table/search-table.controller.js:114:18
      at Array.forEach (native)
      at pluginsUpdated (http://127.0.0.1:8005/static/dashboard/project/search/table/search-table.controller.js:113:33)
      at Scope.$emit (http://127.0.0.1:8005/static/horizon/lib/angular/angular.js:14798:33)
      at pluginsReceived (http://127.0.0.1:8005/static/dashboard/project/search/settings/search-settings.service.js:108:15)
      at http://127.0.0.1:8005/static/horizon/lib/angular/angular.js:9442:11
      at processQueue (http://127.0.0.1:8005/static/horizon/lib/angular/angular.js:13300:27)
      at http://127.0.0.1:8005/static/horizon/lib/angular/angular.js:13316:27
      at Scope.$eval (http://127.0.0.1:8005/static/horizon/lib/angular/angular.js:14552:28)

  Found this when testing the hypervisor plugin for searchlight:
  https://review.openstack.org/#/c/297586/7

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


References