[Tickets #12262] problem in _getAttribute() of /usr/share/php/Horde/ActiveSync/Message/Base.php

noreply at bugs.horde.org noreply at bugs.horde.org
Fri May 17 12:44:55 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12262
------------------------------------------------------------------------------
  Ticket             | 12262
  Created By         | skhorde at smail.inf.fh-bonn-rhein-sieg.de
  Summary            | problem in _getAttribute() of
                     | /usr/share/php/Horde/ActiveSync/Message/Base.php
  Queue              | Kronolith
  Version            | 4.1.0beta2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


skhorde at smail.inf.fh-bonn-rhein-sieg.de (2013-05-17 12:44) wrote:

I have problems with GUI - ActiveSync - Lightning,

in the log I have:

[kronolith] PHP ERROR: Undefined index: body [pid 30676 on line 497 of  
"/usr/share/php/Horde/ActiveSync/Message/Base.php"]

I have added a log message there with:

if(empty($this->_properties[$name])) {	// SKA
		Horde::logMessage('SKA: property "'.$name.'" not set', 'WARN');
		return $default;
	}

When I now create a repeated event in the GUI and use ActiveSync to  
get it, I see:

[horde] SKA: property "uid" not set [pid 3433 on line 498 of  
"/usr/share/php/Horde/ActiveSync/Message/Base.php"]

HORDE: [kronolith] SKA: property "location" not set [pid 4958 on line  
498 of "/usr/share/php/Horde/ActiveSync/Message/Base.php"]

HORDE: [kronolith] SKA: property "sensitivity" not set [pid 4958 on  
line 498 of "/usr/share/php/Horde/ActiveSync/Message/Base.php"]

HORDE: [kronolith] SKA: property "reminder" not set [pid 5592 on line  
498 of "/usr/share/php/Horde/ActiveSync/Message/Base.php"]

HORDE: [kronolith] SKA: property "body" not set [pid 5592 on line 498  
of "/usr/share/php/Horde/ActiveSync/Message/Base.php"]

So, at least you should add the test for empty(), in order to get rid  
of the PHP ERROR message





More information about the bugs mailing list