When I ckeck migrate and use local version on my site, jquery version is not inserted in the html of the page.
when I uncheck this option, jquery 1.9 (my version) is correctly inserted in my page.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pixelpreview created an issue. See original summary.

pixelpreview@gmail.com’s picture

I see some errors in the drupal's logs :
Notice: Undefined index: name in variable_children() (line 81 of /opt/drupal/xxx/sites/all/modules/contrib/variable/variable.module).

Notice: Undefined index: module in variable_type_include() (line 473 of /opt/drupal/xxx/sites/all/modules/contrib/variable/variable.module).

Referrer http://xxx/fr/admin/content/migrate
Notice: Undefined index: driver in Database::openConnection() (line 1681 of /opt/drupal/xxx/includes/database/database.inc).

hamuchen’s picture

Same here. When I activate Migrate, jQuery is not loaded (checked HTML source), no matter if CDN or not.

Regards
hamu

hamuchen’s picture

I have found a workaround: the Migrate option only breaks the site, if the "Default jQuery version" is set to "1.4 (Drupal Core)". I thought that option has no effect, because I set a version for the theme.

Regards
hamu

DamienMcKenna’s picture

Version: 7.x-3.0-alpha3 » 7.x-3.x-dev
s_leu’s picture

Status: Active » Needs review
FileSize
789 bytes

There was an error in hook_library_alter: The hook added a dependency to a library which didn't exist yet. Changed the code to actually provide that referred library and removed some obsolete code below.

Worked for me. Please review.

amme’s picture

markhalliwell’s picture

Status: Needs review » Closed (duplicate)
Parent issue: #2852350: [jquery_update] 7.x-3.0 stable release »
Related issues: +#2692295: jQuery Migrate update to latest version

It was actually a little more complicated than the above patch (when dealing with multiple versions of jQuery Migrate). I went ahead and fixed this in the related issue.