Download & Extend

ui.core.js not minified or packed in UI release

Project:jQuery UI
Version:6.x-1.4
Component:Code
Category:bug report
Priority:normal
Assigned:imDhaval
Status:closed (fixed)

Issue Summary

The current 1.5.3 release of jQuery UI does not have a version of ui.core.js in the minified or packed folders. This obviously breaks functionality because the core file 404s.

A simple fix for me was to minify ui.core.js, rename to ui.core.min.js and place in the minified folder because that is what I use. However, this probably needs to be handle in a more elegant way out of the box by either including the source version or instructing the user on what to do.

Comments

#1

The 1.6 dev bundle at http://jquery-ui.googlecode.com/files/jquery.ui-1.6rc6.zip does include ui.core.min.js so hopefully whatever packaging bug caused this was fixed..

#2

Well, unfortunately, UI 1.6 requires jQuery 1.3 and that is not functional with the current Drupal. Both Drupal core and jquery_update still ship with 1.2.6 which has to use the UI 1.5.x series.

So in a future version that may be ok but for now it makes this module unusable, especially since the user has to debug the system just to find out the file is 404.

There should either be file_exists() checks that fall back to the main source files or some major documentation in the module, readme, and module project page telling the user to check this.

#3

http://blog.jquery.com/2009/02/12/jquery-ui-17-is-the-new-16/
1.6rc6 plus fixes will become 1.7 (compatible with jQuery 1.3+)
1.6rc2 plus fixes will become 1.6 (compatible with jQuery 1.2.6)

#4

Ok. The issue in question is still the same.

Both the ui.jquery.com site and the google code site only feature 1.5.3 for 1.2.6 and 1.6rc6 for 1.3. The only place to download 1.6rc2 is the archive version list on google code site. On top of that that is not a stable release, 1.5.3 is.

So if the module only works with the 1.6rc2 version by following the install instructions, then that needs to be documented. Or it either needs to be documented how to use the module with 1.5.3 or modify the code to handle it for the user.

I am not to picky about the final solution, they all work. But it doesn't seem right to just say "Don't worry about, people will figure it out on their own." As it is now the module with its current documentation does not work.

#5

Rather then just saying this is a problem here, could someone please report it to the jQuery UI guys?

#6

#7

Status:active» postponed

Thanks, dragonwize. Setting this issue to Postposed until 1.5.4 is out and http://dev.jqueryui.com/ticket/4223 is resolved. Thanks guys!

#8

Status:postponed» fixed

The jQuery UI guys fixed the missing files.

#9

Status:fixed» closed (fixed)

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

#10

Version:6.x-1.x-dev» 6.x-1.4
Status:closed (fixed)» active

With jQuery UI 1.8.5 and 6.x-1.4 of the module I get the following:

warning: file_get_contents(sites/default/modules/jquery_ui/jquery.ui/ui/minified/ui.core.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /sites/tbx_live/drupal-6/includes/common.inc on line 2424.
warning: file_get_contents(sites/default/modules/jquery_ui/jquery.ui/ui/minified/ui.dialog.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /sites/tbx_live/drupal-6/includes/common.inc on line 2424.
warning: file_get_contents(sites/default/modules/jquery_ui/jquery.ui/ui/minified/ui.draggable.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /sites/tbx_live/drupal-6/includes/common.inc on line 2424.

To be honest, between the Javascript library, jquery_ui, modalframe and noderelationships it can take hours to set up a functioning, compatible set of versions. Anyone any tips on version combinations that actually work, assuming the most recent D6 core jQuery?

#11

i got same error jp.stacey,
if u find solution then plz tell me

#12

#10 and #11, please see http://drupal.org/node/749126. Hope that helps.

#13

Assigned to:Anonymous» imDhaval
Status:active» fixed

SOLUTION FOUND

jQuery UI 6.x-1.4 is working with jquery-ui-1.7.x

but

jQuery UI 6.x-1.4 is not working with jquery-ui-1.8.x

see http://code.google.com/p/jquery-ui/downloads/list

so use jquery-ui-1.7.x & this problem will solved

#14

Status:fixed» closed (fixed)

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

#15

@ImDhaval in answer to your specific query, I got recent versions to sort-of work with the dev branch of jQuery Update:

* jquery_update 6.x-2.x-dev
* jquery_ui 6.x-1.4
* modalframe 6.x-1.7
* noderelationships 6.x-1.6

Even then, you can expect the click event in the noderelationships popup dialogue to fail if you've got a stripped down theme e.g. mothership. The classes just aren't there. You can try copying the core views module template files (modules/views/theme/views-view-*.tpl.php) into your theme and see if that works, but I've had limited success with that.

#16

(Oh, and use jQuery UI v1.7.x . 1.8.x requires jQuery 1.4.x, which jQuery Update does not provide.)

nobody click here