Using rules, try to select "Entity is of type" and nothing will happen, because Clienside Validation is breaking jQuery. The generic error reads:

Uncaught TypeError: Cannot read property 'length' of undefined

The problem is in clientside_validation.js in Drupal.clientsideValidation.prototype.bindForms

    jQuery.each (self.forms, function (f) {
      if ($('#' + f).length < 1) {
        delete self.forms[f];
      }
    });

You can see it calls jQuery.each, which expects self.forms to be an object with a length. But it appears to be undefined.

Also needed near Drupal.behaviors.clientsideValidation

Patch in next comment.

CommentFileSizeAuthor
#1 2127093-1.patch813 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new813 bytes
jelle_s’s picture

Status: Needs review » Fixed

Fixed in latest dev. Thanks for the patch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.