Summary | Fatal error checking for new versions with alarms disabled |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | selsky (at) columbia (dot) edu |
Created | 05/08/2007 (6651 days ago) |
Due | |
Updated | 06/18/2007 (6610 days ago) |
Assigned | 05/09/2007 (6650 days ago) |
Resolved | 06/18/2007 (6610 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Chuck Hagenbuch
State ⇒ Resolved
http://cvs.horde.org/diff.php?r1=1.65&r2=1.66&f=framework%2FNotification%2FNotification.php
1. Start with alarms enabled.
2. Go to Horde setup screen and disable alarms. Do not log out.
3. Ask Horde to check versions.
4. See errors about calling function on non-object since
$this->_alarm isn't an object anymore.
you write the config successfully, or did you copy/paste it?
To reproduce:
1. Start with alarms enabled.
2. Go to Horde setup screen and disable alarms. Do not log out.
3. Ask Horde to check versions.
4. See errors about calling function on non-object since $this->_alarm
isn't an object anymore.
Taken from Jan Schneider
write the config successfully, or did you copy/paste it?
State ⇒ Feedback
State ⇒ Assigned
var_dump($GLOBALS['conf']['alarms']['driver']);
string(3) "sql"
But,
var_dump($this->_alarm)
NULL
Is the bug that $conf is not being reloaded even though the
$this->_alarm object is getting destroyed?
Priority ⇒ 1. Low
State ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Fatal error checking for new versions with alarms disabled
Type ⇒ Bug
$conf['alarms']['driver'] = false;
I get the following error:
Fatal error: Call to a member function notify() on a non-object in
/etc/httpd/htdocs/horde/framework/Notification/Notification.php on
line 210