Closed (fixed)
Project:
PageEar
Version:
6.x-2.0-rc4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Sep 2009 at 14:00 UTC
Updated:
18 Sep 2009 at 15:40 UTC
There is a minor typo bug on one of the functions that updates this variable. The module works fine but one of the performance improvements would not work with that bug.
On pageear.install file on function pageear_disable there is this code:
// Update the global variable numEnabledPageears that tracks number of pageears enabled
variable_set('numEnabledPagears', 0);
that has a typo on variable numEnabledPageears. The code should look:
// Update the global variable numEnabledPageears that tracks number of pageears enabled
variable_set('numEnabledPageears', 0);
I fixed it, I decided to add a hook_enable too to reset that variable to 0 when the module is enabled and I'm going to commit an RC5 updated version.
For those who had installed version RC4 would be desirable if after updating to RC5 they could disable pageear module, reenable it again, and after that, reenable the pageears you need enabled.
Sorry the inconvenience.
Comments
Comment #1
manfer commentedCommited new 6.x-2.0-RC5 and 5.x-2.0-RC5 versions.
For those who had installed version RC4 would be desirable if after updating to RC5 they could disable pageear module, reenable it again, and after that, reenable the pageears you need enabled. This is only for people upgrading from RC4 that probably not much as RC4 was released only some hours ago.
Sorry the inconvenience.
Comment #2
manfer commentedSorry all updates to RC5 needs to disable pageear and reenable it. That way a new variable that improve performance is initialized correctly when you enable your pageears.
Sorry.