block module from 5.8 breaks css and js (reverting to 5.7 block.module fixes problem)

hutch - July 10, 2008 - 19:08
Project:Drupal
Version:5.8
Component:block.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

On upgrading to D 5.8 I discovered that views_ticker.module is no longer loading its css and javascript.
I have tried moving the commands (which have worked fine in 5.7) to the top of the module but no go.
Everything else is working and the function they are in is pumping out content and it can be seen on the page, but no javascript to drive it. ;-(
The box is Debian 3.1, 32 bit nothing fancy, php 4.3.10-22
drupal_add_js() shows no sign of having been changed in the upgrade, all rather mysterious.
Nothing in php.log or watchdog. All other modules loading javascript are doing so as usual
This issue was originally reported at http://drupal.org/node/280833

If anyone has any ideas.....

#1

twowheeler - July 11, 2008 - 00:09

I have been surfing drupal.org, and it looks like anything that depends on javascript is down as of drupal 5.8. Views_slideshow, dhtml_menus, lucid_menus, etc.

#2

kirie - July 11, 2008 - 03:59

We found this issue too - a CSS file does not load (i.e. not added to the header) after the upgrade. Reverting block.module to the previous version seems to fix the issue - haven't had time yet to figure out which of the changes there causes this.

Applying #7 from #281042: regression in 5.8 from 5.7 theme('blocks','all') broken - so no header alteration possible also seems to fix it.

#3

twowheeler - July 11, 2008 - 04:54

Thank you! Reverting block.module to 5.7 will do for now, til a real fix is available. Seems to work.

#4

hutch - July 11, 2008 - 09:30

reverting to block.module 5.7 has fixed it for now, Thanks!
All other javascript is working, at least dhtml_menu and collapsiblock

#5

hutch - July 11, 2008 - 09:41
Status:active» fixed

fixed for now

#6

WorldFallz - July 11, 2008 - 13:22
Title:css and js not loading for views_ticker module» block module from 5.8 breaks css and js (reverting to 5.7 block.module fixes problem)
Component:usability» block.module
Status:fixed» postponed (maintainer needs more info)

Reverting a module back to a previous version is not a real fix, just a temporary workaround. Updating issue status and providing a more descriptive title. I'll try to compare the modules and pinpoint exactly where the problem is.

#7

JohnAlbin - July 11, 2008 - 13:31

#8

hedroom - July 11, 2008 - 16:13

One may want to simply run the security patch issued with the security announcement until a new release is issued.

http://drupal.org/files/sa-2008-044/SA-2008-044-5.7.patch

I have a zip file with the patched files here http://www.hedgren.org/Drupal-5.7-Patch.zip for those unfamiliar with running the patch file.

Use at your own risk and backup your stuff first.

Cheers,

Wade

#9

torgosPizza - July 11, 2008 - 18:58

Subscribing. Found this issue as well, and reverting helps for now.

#10

JohnAlbin - July 11, 2008 - 19:14
Assigned to:hutch» Anonymous

You are subscribing/replying to a duplicate issue. No fixes will be posted here.

Instead see: #281042: regression in 5.8 from 5.7 theme('blocks','all') broken - so no header alteration possible

 
 

Drupal is a registered trademark of Dries Buytaert.