This might be bug report or a feature request depending on your point of view :D

And this may already reported, but I'd didn't spot it on a quick search.

Conflicts exist between devel_themer in the Devel module(which appears to includes a few versioned jquery ui files) and the Jquery_ui module, which allows a site to use specific (often newer) versions of the jquery_ui.

I propose that devel_themer ads some small logic on the order of:

if (module_exists('jquery_ui'))
{
  jquery_ui_add('ui.core');
  jquery_ui_add('ui.mouse');
  jquery_ui_add('ui.draggable');
}
else
{
  drual_add_js('...'); // what currently is: ui.mouse.js, and ui.draggable.js
}

I have been developing my theme and expecting my jquery ui stuff to fail for as long as I have the devel_themer turned on. Which is obviously not optimal, but also not critical.

Thanks for your consideration.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jjeff’s picture

Yes. Great idea. It was a bit of a hack that we just grabbed those files and stuck them in there, but since Drupal doesn't have a Javascript plugin management system, this was the only thing to do. Now that jQuery UI module exists, your idea is probably the way to go.

jjeff’s picture

Status: Active » Patch (to be ported)
FileSize
1.14 KB
moshe weitzman’s picture

Status: Patch (to be ported) » Fixed

committed. thanks.

Status: Fixed » Closed (fixed)

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

drewish’s picture

Component: devel_themer » devel
Status: Closed (fixed) » Needs review
FileSize
482 bytes

I'm re-opening this since it's still an issue though more minor than before, see: #578402

Basically we're got really old JQueryUI code and ui.mouse.js no longer exists.

moshe weitzman’s picture

Project: Devel » Theme developer
Version: 6.x-1.16 » 6.x-1.x-dev
Component: devel » Code
Anonymous’s picture

This didn't work for me. The error persists even on a brand new site with a totally different theme. It's quite crippling...

neoglez’s picture

Subscribing

a5342346’s picture

Subscribing

BBC’s picture

Subscribing

a5342346’s picture

Can someone clarify if we can get around this problem yet, and how? Is patching still required, or just the right combination of module versions?

Atm, e.g., @

admin/build/panels/style

I see,

    * warning: file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.mouse.min.js): failed to open stream: No such file or directory in /srv/d1/includes/common.inc on line 2412.
    * warning: file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.mouse.min.js): failed to open stream: No such file or directory in /srv/d1/includes/common.inc on line 2412.

and, in

ls -al sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.*
 -rwxrwxr-x 1 wwwrun www  8842 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.accordion.min.js
 -rwxrwxr-x 1 wwwrun www  8112 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.core.min.js
 -rwxrwxr-x 1 wwwrun www 44974 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.datepicker.min.js
 -rwxrwxr-x 1 wwwrun www 10636 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.dialog.min.js
 -rwxrwxr-x 1 wwwrun www 18581 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.draggable.min.js
 -rwxrwxr-x 1 wwwrun www  5984 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.droppable.min.js
 -rwxrwxr-x 1 wwwrun www  1757 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.progressbar.min.js
 -rwxrwxr-x 1 wwwrun www 17920 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.resizable.min.js
 -rwxrwxr-x 1 wwwrun www  4229 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.selectable.min.js
 -rwxrwxr-x 1 wwwrun www  9303 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.slider.min.js
 -rwxrwxr-x 1 wwwrun www 23716 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.sortable.min.js
 -rwxrwxr-x 1 wwwrun www 11259 2009-06-04 07:22 sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.tabs.min.js

i.e., no "ui.mouse.min.js" to be found ...

atm i've,

drush pm-list | egrep "jquery|devel" | grep Enabled
 Development                       Devel (devel)                                                           Module  Enabled                       
 Development                       Theme developer (devel_themer)                                          Module  Enabled        6.x-1.x-dev    
 User interface                    jQuery UI (jquery_ui)                                                   Module  Enabled        6.x-1.x-dev    
 User interface                    jQuery Update (jquery_update)                                           Module  Enabled        6.x-2.0-alpha1 

Thanks,

Ben

druplicate’s picture

See this thread for additional solutions: http://drupal.org/node/578402

I just ignore the warnings since devel isn't used on a live site.

butler360’s picture

Now that the thread linked to above is marked as a duplicate of this thread, what's the status here?

achton’s picture

Subscribing. I believe this is still an issue.

gfxguru’s picture

subscribing. Yes still...

lucascaro’s picture

subscribing + bump

scarvajal’s picture

subscribing

YK85’s picture

subscribing - any further development in this area?
i see the error in the logs every time =(

JeremyFrench’s picture

FileSize
849 bytes

Patch attached. Is basically the patch in #5 by drewish but checking the jquery ui version to make sure the file is not ommited if version is less than 1.5.

Any takers for a review?

HongPong’s picture

subscribe -thanx

JeremyFrench’s picture

Status: Needs review » Fixed

Commited here

Status: Fixed » Closed (fixed)

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

spgd01’s picture

Status: Closed (fixed) » Needs review

Has this patch been reviewed? I am still getting the error. #21 dosen't help without direct link to the proper page.