I'm currently running on the latest 7.x-1.x-dev, but it seems that it is causing Views UI to not function properly due to the following js error:

Uncaught TypeError: Cannot read property 'length' of undefined

Although admin/config/validation/clientside_validation/general is already excluding the Views paths by default, but I still see it being called on the page.

Comments

attiks’s picture

Are you using jquery_update?
What theme are you using?
Is the view edit opened in an overlay?

jonloh’s picture

No, we're not using any jquery_update

Since it's opening the Views in admin, it's using the Seven theme.

No, we do not use the Overlay module as well for the admin section.

It appears that the error is from the core's jquery.js?v=1.4.4:33

corentin.crouvisier’s picture

Hi,

After the last update v7.x-1.38, a js error occurs on all edited views when I click any option link that calls for an ajax response.
Here a list of files loaded after the click and the error message:

POST /admin/structure/views/ajax/display/paiements/page/style_options
GET /sites/all/modules/cli...on/jquery-validate/jquery.validate.min.js?mvq06n	
GET /misc/tableheader.js?mvq06n
GET /sites/all/modules/cli...e_validation/clientside_validation.ie8.js?mvq06n
GET /sites/all/modules/cli...tion_html5/clientside_validation_html5.js?mvq06n
GET /sites/all/modules/clientside_validation/clientside_validation.js?mvq06n

TypeError: j is undefined

Clientside validation files are loaded even if "admin/structure/views/view/*" is excluded in the configuration parameters.

If I disable the clientside_validation module, the view edition is working perfectly.

jpd4nt’s picture

Hi.

We have also run into this issue with v7.x-1.38.

jquery_update - yes, jQuery 1.7.1
theme - bootstrap based
overlay - not using the overlay

jpd4nt’s picture

Hi.

Just to add you need "admin/structure/views/*" excluded for views to work as the ajax forms urls are "admin/structure/views/ajax/display/*"

jelle_s’s picture

Issue summary: View changes
Priority: Major » Normal
Status: Active » Fixed

Added an install and update hook to add that path to the excluded paths by default. Committed to latest dev.

Status: Fixed » Closed (fixed)

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