1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #3992 resolved

javascript error trying to create a group

Christian Warden
created an issue

When trying to create a new group, upon clicking Add Group, nothing happens, and the following javascript error occurs:

{{{ Uncaught TypeError: Cannot call method 'each' of undefined o.backbone.ui.CollectionView.Backbone.View.extend.init_bundle.js:757 o.backbone.ui.CollectionView.Backbone.View.extend.initializebundle.js:757 o.Viewbundle.js:253 aabundle.js:257 BB.groups.ui.GroupMembersFormView.Backbone.View.extend.initializebundle.js:801 o.Viewbundle.js:253 aabundle.js:257 BB.groups.ui.GroupView.Backbone.View.extend.initializebundle.js:805 o.Viewbundle.js:253 aabundle.js:257 o.backbone.ui.CollectionView.Backbone.View.extend.add_bundle.js:758 o.Events.triggerbundle.js:232 g.extend._onModelEventbundle.js:246 o.Events.triggerbundle.js:232 g.extend._addbundle.js:244 g.extend.addbundle.js:241 g.extend.create.L.successbundle.js:243 g.extend.save.L.successbundle.js:237 r.extend._Deferred.K.resolveWithbundle.js:47 ybundle.js:167 r.support.ajax.r.ajaxTransport.send.ubundle.js:17 }}}

Comments (5)

  1. Christian Warden reporter

    (Reply via cwa...@xerus.org):

    I tried it again, and it worked correctly.

    Then I tried it one more time and it failed again. It looks like the backbone.js Collection of group members used by GroupMembersFormView isn't being initialized properly.

    Christian

  2. Log in to comment