Closed (fixed)
Project:
Update Status Advanced Settings
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2008 at 23:42 UTC
Updated:
27 Jun 2009 at 04:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwAs expected, I can't reproduce this at all with garland, a clean core install, and the latest update_advanced. Probably something is broken in your theme. You get to either a) figure out and solve your own problem, or b) provide enough information for someone else to reliably reproduce this.
Comment #2
hass commentedI'm not aware of any problems on my box. I'm using PHP 5.2.4 on a local Windows, there are no known PHP limitations. See the attached screenshots with Garland. I don't know what the module does here and how this could ever happen.
Comment #3
dwwTry clearing *all* of your caches, including the theme registry and menu caches. It looks like somehow after you save, update_advanced's theme override is no longer happening on that settings form.
Also, until you can prove it's a bug, please stop setting it back to that status.
Comment #4
hass commentedI pressed "clear all caches" at admin/settings/performance. No change.
Comment #5
dwwThat doesn't clear your theme registry cache. Use devel.module, or do it manually.
Comment #6
hass commentedThis should be save, but haven't helped, too.
Comment #7
dwwTry with Garland. Try with a clean install with nothing but core and update_advanced. You've been around long enough to know basic trouble-shooting and debugging techniques. This doesn't happen with a clean core installation, so I'm not sure why I'm still spending time on this.
Comment #8
hass commentedI'm little bit lost here... I've tested an upgrade from my D5 installation and now this is not working. I copied the module in a new test install an well - it works. But how could this ever possible that a theme hook is not executed!? I must solve this issue or i cannot upgrade. I hope you might have an good idea how to analyze and solve this issue. I have no idea why a core hook should not fire if this is not a bug in core...
EDIT: "clear all caches" at admin/settings/performance looks clearing the theme registry!
Comment #9
hass commentedAfter i changed this line to TRUE it works for me... i tried to follow this functions to figure out what could be wrong, but i have troubles to follow the idea and logic. Moving back to bug, as it looks like a bug and IF's without ELSE are every time a bad thing.
[update_advanced.settings.inc]
Comment #10
hass commentedThis is from update_status module update_status_settings(). Looks the same like my "solution", however i don't know what this does.
Comment #11
hass commentedComment #12
hass commentedPatch attached.
Comment #13
dwwThat's not a good change. We don't want to re-fetch and recompute available update data for the settings page, we just want to get it out of the cache. I bet this was yet-another symptom of #220592: Core cache API breaks update.module: fetches data way too often, kills site performance, etc (now fixed).
Comment #14
dwwAhh, nope. ;) I've now been able to reproduce this bug over at #162788: Include modules that aren't enabled. The problem is that if there's no cached available update data when the settings page form builder runs, it can't generate this table. So, now that I think about it, patch #12 might actually be in the right direction... So long as that doesn't clear the cache, it should work ok...
Comment #15
dwwNope, #12 is definitely wrong, since it forces a refresh of all available update data every time you visit the settings page. This is what we need, instead.
Comment #16
dwwgah, I think I've been hacking too long today... my brain is shot. ;) #15 is definitely wrong. Now that I actually read update_get_available() carefully, I see that passing in $refresh as TRUE will only fetch data if there isn't any data in the cache, which is in fact what we want. ;) Committed #12 to HEAD after more careful testing and review of related code.