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.

CommentFileSizeAuthor
#1 bawstats-1225986-1.patch5.13 KBegfrith

Comments

egfrith’s picture

StatusFileSize
new5.13 KB

Hmm... 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.

egfrith’s picture

Status: Active » Closed (fixed)

This patch has now been committed. I will release 6.x.1.3 shortly.

egfrith’s picture

Status: Closed (fixed) » Fixed
egfrith’s picture

Assigned: Unassigned » egfrith

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.