Closed (outdated)
Project:
Bibliography Module
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2011 at 22:11 UTC
Updated:
21 Dec 2018 at 19:08 UTC
Jump to comment: Most recent
Comments
Comment #1
rjerome commentedI'd say there's something else wrong with your site, cause you shouldn't hit that code on every page load.
Ron
Comment #2
mariagwyn commentedActually, it happens every time a user saves (which happens frequently as users are checked against a civicrm database to be sure the membership is upgraded). Biblio also rebuilds the menu every time. When this is commented out, the save is fine.
Comment #3
rjerome commentedCommenting it out should have little or no impact. That was there so that if the user changed some of their biblio settings with affected the menu display, they would be updated immediately.
I'll look for a way to detect that one of my settings is changed before invoking menu_rebuild.
I'm still a bit surprised that user data is saved that frequently, but every site is different...
Ron.
Comment #4
mariagwyn commentedI am not happy that user data is save as frequently as it is. It appears that a member status in Civicrm is checked, and then it saves the drupal user and his/her corresponding role. This is the only way to keep member data in Civi matching member access in drupal. Frankly, it sucks and is an ugly process. I can't get around it. As a complete side effect, the saving due to Civi was also saving biblio user data and rebuilding the menu. My query load was going crazy.
It really isn't biblio's issue, it was just that civi seems to have exposed a possible weakness in biblio.
Commenting it out has had no real affect, so things are stable so far. If you update or find another way, let me know since I would rather not use a hacked biblio, a module I like and plan to use extensively!
maria
Comment #5
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.