Global Redirect breaks NodeQueue
Steve Hanson - July 7, 2008 - 18:43
| Project: | Global Redirect |
| Version: | 5.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | nicholasThompson |
| Status: | closed |
Jump to:
Description
The combination of Global Redirect 1.2 and NodeQueue 2.2 is apparently very bad. If Global Redirect is turned on, the Views UI for nodequeue doesn't work (none of the filter options for nodequeue are visible). Turning off global redirect fixes it.

#1
That note SHOULD have said global redirect 1.3, not 1.2
Global Redirect version 1.2 doesnt seem to cause the problem - just 1.3
#2
Subscribing to keep up to date on this and the corresponding issue at #279439: Global Redirect Module conflicts with Nodequeue
#3
I've just installed Global Redirect 1.3 and NodeQueue 2.2 onto a clean Drupal 5.7 install and I cannot replicate this. NodeQueue functions (or appears to at least) as intended.
I'll try to test out ViewsUI with it too... (I need an "active - in progress" status!!)
#4
Ahh I see - its Views UI which breaks in relation to NodeQueue..
Now whats REALLY interesting is it only fixes if you disable the whole module. If you rename the function
globalredirect_initto something likeglobalredirect_initsso it doesn't get executed then the problem still exists...This is VERY peculiar!
#5
What's happening is this:
One possible fix is to increase the weight of GR in the system table. This fixes the problem for OG, I haven't tested with NQ but I expect it would work there too.
The reason renaming the function doesn't seem to work is probably because the old stuff is still cached in cache_views.
#6
I just spent an hour debugging and realised that the weight solved it. I then refreshed this page to find out you'd posted the solution ;-)
I'm gonna commit this as a 1.3.1 update. This will also fix another issue in the queue at the same time.
Personally I think it would be good practice to have ALL hook implementations in the
.modulefile rather than in includes... But that's just me!#7
This should be fixed in 1.3.1 now...
Please note that an upgrade to 1.3.1 will involve running the update.php script. Drupal Administration page will warn you about an out of date schema.
#8
Yes, this seems to have fixed a bunch of problems with organic groups and with nodequeue. Thanks for the quick response.
#9
No probs... I broke it - I should fix it ;-) Plus its not like Views, NodeQueue and OG are particularly rare modules!
#10
#278469 has been marked as a duplicate of this issue. Thanks for fixing this.
#11
Automatically closed -- issue fixed for two weeks with no activity.