Posted by psegarel on December 19, 2012 at 4:41am
32 followers
Jump to:
| Project: | jQuery Update |
| Version: | 7.x-2.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
On a fresh Drupal 7.17 install with JQuery 7.x-2.x-dev & Views 7.x-3.5.
Views UI breaks when trying to modify a field, disabling JQuery Update solves the issue. so this is my workaround for the time being...
Comments
#1
I have also come across this.
This happens with I enable jQuery 1.8, when I bring this down to 1.7 the problem goes away. I am using the rubik admin theme.
Basically this is causing this error. http://drupal.org/node/806696
When I make a change to views the ajax popup is broken and all ajax responses are returned to the screen. Bringing jquery back down to 1.7 fixes this.
#2
This might be related to #1847900: Update jQuery UI to 1.8.24
#3
I get this problem in jQuery 1.7 or 1.8.
#4
In 1.7 the patch #30 helps on #1494860: Views Rewrite Results UI Broken using JQuery 1.7
#5
Thanks for the info.
I decided the reason I needed newer jQuery wasn't worth the hassle of using a newer jQuery anyway.
Also, hot tip if you didn't know, you can link direct to comments like so:
[#1494860-30]#6
Oh.. good!
In case you come back here, I've provided a minimal workaround patch for this problem here #1766240-8: Option to limit Jquery Update scope to front end only.
Thank you, L
#7
i just did a fresh install of drupal 7.20, views/views_ui 7.x-3.5 and jquery_update 7.x-2.3.
as soon as i enable jquery_update, views breaks, regardless of what jquery version i have selected in the jquery_update options.
seems like a showstopper for jquery_update.
#8
It is a showstopper, and it is kind of frustrating that a new "stable" version was released with such a known and broken issue with a module in such widespread use i.e. Views. Check out #1524944: Allow different version for administrative pages for a solution and in particular #1524944-72: Allow different version for administrative pages for a patch that should work on 7.x-2.3 -- 7.x-2.3 looks like it is identical to 7.x-2.x from last September.
#9
Take a look at the jquery update admin screen at /admin/config/development/jquery_update. You can select which version of jQuery to be loaded. i believe version 1.5 works best with Drupal 7.
#10
I can confirm that switching to jQuery 1.5 in jQuery Update does not break views UI, while switching to 1.8 in jQuery Update does.
T_T
#11
just to confirm, with a fresh install of drupal 7.20, views/views_ui 7.x-3.5 and jquery_update 7.x-2.3, it DOES NOT MATTER which jquery version i select in jquery_update, views appears broken. i disabled jquery_update, and no problem. oh well.
i was still seeing some very weird behavior in views once i did my complete install: when trying to modify any options on a view (such as fields, sorting, whatever), the dialog window that opens was missing all options, and only contained the action buttons. it turns out the problem was in my own module, where i was unsetting a number of form elements (including 'options') in hook_form_alter, indiscriminately. i needed to make sure i was looking at a node form before doing the unsetting - once i did that, the views dialogs were fine.
#12
Just to confirm, with a fresh install of drupal 7.20, views/views_ui 7.x-3.5 and jquery_update 7.x-2.3.
Everything works just fine for me if I pick jquery 1.5. Things break when I pick 1.8.
This was a fresh install of drupal 7
Using minified or production both work. I tried all CDN combinations. I cannot get this to error on jquery 1.5.
I will say to make sure js aggregation is cleared when switching versions. If you are switching back and forth then you might be caught up using the other version from an old js aggregation.
#13
FYI, am using AT Admin theme, views UI works with 1.7, breaks with 1.8. the view will still update, even if the UI is hosed.
#14
subscibe
#15
You don't need to subscribe any more. There is a follow button at the top of the page now.
#16
Is there a way to have the jquery 1.5 version only run in the admin section, while jquery 1.8 goes on the frontend?Oh wait, there is a patch: http://drupal.org/node/1766240#comment-6969950
#17
@geetotes:
Notice that that issue is closed as a duplicate.
The issue to follow instead of that one is this one: #1524944: Allow different version for administrative pages
#18
same error here: jquery version 1.7 works, version 1.8 breaks the views!
#19
Marking as duplicate of #1524944: Allow different version for administrative pages as per #17.
#20
Same error i went from jquery update 1.5 to 1.7 because i wanted to use the fancybox, and needs jquery update, but the same problem i had
#21
So I've been having issues with this as well. My solution is to use a seperate admin theme without jquery update installed. I then in the .info file, for the theme I'm using to display my site, add my own downloaded version (in my case 1.9) of jQuery. This however is just a temporary workaround and in my opinion, jQuery Update should, until this issue is fixed, not be used in a production environment.
#22
Okay as after I posted the above comment, I went and was about to update my views module with the latest and greatest. I noticed that in the notes it said "#1802198 by westwesterson, hswong3i, drumm | cjlgr: Fixed Views UI breaks with jQuery 1.8."
I haven't tried it yet but I'll install and see if it works. I'll make sure to post about my results once I've had a chance to play with it.
#23
Okay so the update fixed the issue, at least with my setup, with jQuery 1.7 but not 1.8. Throwing my hands up in the air and just going with the workaround I previously posted for now.
#24
jQuery 1.8 breaks Views 3.7. jQuery 1.7 and 1.5 both work. No patch applied. jQuery Update Version is 7.x-2.3
#25
This has been closed for a while now. I don't know why people keep posting. *Unfollowing*