← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: horizon
     Importance: Undecided
     Assignee: Matt Borland (palecrow)
         Status: New

** Affects: searchlight
     Importance: Undecided
     Assignee: Travis Tripp (travis-tripp)
         Status: New


** Tags: angularjs

** Also affects: searchlight
   Importance: Undecided
       Status: New

** Changed in: searchlight
     Assignee: (unassigned) => Travis Tripp (travis-tripp)

-- 
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):
  New
Status in OpenStack Search (Searchlight):
  New

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


Follow ups