← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1674863] [NEW] Uncaught TypeError: Cannot read property 'modal' of null

 

Public bug reported:

In dashboards/identity/projects/table.py, I add a member function in
class CreateProject:

    def get_link_url(self, datum=None):
        return reverse(self.url, kwargs=self.table.kwargs)

I want to pass an argument to the workflow, firtly I want to try a blank
get_link_url function code copied from AddMembersLink in
dashboards/identity/groups/table.py.

After httpd is restarted, when click "create project" button from web,
the chrome javascript console throw an exception:

 openstack Uncaught TypeError: Cannot read property 'modal' of null
 openstack Uncaught TypeError: Cannot read property 'loadAngular' of undefined

Is there anything wrong with my modification? Thanks!

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Uncaught TypeError: Cannot read property 'modal' of null

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In dashboards/identity/projects/table.py, I add a member function in
  class CreateProject:

      def get_link_url(self, datum=None):
          return reverse(self.url, kwargs=self.table.kwargs)

  I want to pass an argument to the workflow, firtly I want to try a
  blank get_link_url function code copied from AddMembersLink in
  dashboards/identity/groups/table.py.

  After httpd is restarted, when click "create project" button from web,
  the chrome javascript console throw an exception:

   openstack Uncaught TypeError: Cannot read property 'modal' of null
   openstack Uncaught TypeError: Cannot read property 'loadAngular' of undefined

  Is there anything wrong with my modification? Thanks!

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


Follow ups