Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#6 | migrate_option_broken-2604036-6.patch | 789 bytes | s_leu |
migrate.png | 31.27 KB | pixelpreview@gmail.com |
Comments
Comment #2
pixelpreview@gmail.com CreditAttribution: pixelpreview@gmail.com commentedI 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).
Comment #3
hamuchen CreditAttribution: hamuchen commentedSame here. When I activate Migrate, jQuery is not loaded (checked HTML source), no matter if CDN or not.
Regards
hamu
Comment #4
hamuchen CreditAttribution: hamuchen commentedI 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
Comment #5
DamienMcKennaComment #6
s_leu CreditAttribution: s_leu at MD Systems GmbH commentedThere 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.
Comment #7
amme CreditAttribution: amme commentedComment #8
markhalliwellIt 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.