Closed (fixed)
Project:
BAWStats
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Jul 2011 at 20:28 UTC
Updated:
5 Aug 2011 at 22:21 UTC
Jump to comment: Most recent file
I have just noticed that the recent upgrade causes the detailed statistics (seen when clicking on "Others" on a page) to disappear. For now there is workaround: just go to the BAWStats configuration page (admin/settings/bawstats) and click on "Save Configuration" at the bottom of the page.
I think the reason this is happening is that the menus need to be rebuilt, and I thought I had guarded against this by putting menu_rebuild() in bawstats_update_6002() in the bawstats.install file. However this doesn't seem to have worked.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | bawstats-1225986-1.patch | 5.13 KB | egfrith |
Comments
Comment #1
egfrith commentedHmm... It turns out that menu_rebuild() wasn't enough. The persistent variables bawstats_groups and bawstats_sections were being set in bawstats_admin_settings_submit() form, and these variables were referred to in bawstats_menu() but not updated. I have now replaced these variables by functions bawstats_groups() and bawstats_sections(). The attached patch does this and wil be committed.
Comment #2
egfrith commentedThis patch has now been committed. I will release 6.x.1.3 shortly.
Comment #3
egfrith commentedComment #4
egfrith commented