[horde] BUG: PHP ERROR: Undefined index: results [pid 6675 on line 950 of "/usr/share/php/Horde/ActiveSync/Request/Sync.php"]

Michael J Rubinsky mrubinsk at horde.org
Fri Jun 28 13:24:46 UTC 2013


Quoting Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>:

> In Horde_ActiveSync 2.5.2 stable the error comes up when you delete
> an event. The notice is issued in this line
>
> 	if (is_array($results['results'])) {
>
> I have therefore added a log message in the previous line.
> $result seems to be a list of event ids and therefore 'result'
> won't be found ever. Looks like bugs.horde.org allows only bug
> reports for git version.
>
> I guess you have to omit the ['result'] .
>
> ===
>
> Jun 26 13:57:08 horde5beta HORDE: [horde] SKA:  
> importMessageDeletion() = array (#012  0 =>  
> '20130626135614.JASPR3lDzO7VXV6_Cj-aOg1 at horde5.inf.fh-bonn-rhein-sieg.de',#012) [pid 6675 on line 949 of  
> "/usr/share/php/Horde/ActiveSync/Request/Sync.php"]
> Jun 26 13:57:08 horde5beta HORDE: [horde] PHP ERROR: Undefined  
> index: results [pid 6675 on line 950 of  
> "/usr/share/php/Horde/ActiveSync/Request/Sync.php"]
>
>
>             if (!empty($collection['deletesasmoves']) && $folderid =  
> $this->_driver->getWasteBasket($collection['class'])) {
>                 $results =  
> $importer->importMessageMove($collection['removes'], $folderid);
>             } else {
>                 $results =  
> $importer->importMessageDeletion($collection['removes'],  
> $collection['class']);
> 		Horde::logMessage('SKA: importMessageDeletion() = ' .  
> var_export($results, true)
> 		 , 'NOTICE');
>                 //if (is_array($results['results'])) {	// line 949
>                 if (is_array($results)) {
>                     $results['results'] = $results;
>                     $results['missing'] =  
> array_diff($collection['removes'], $results['results']);
>                 }

Please create a ticket on bugs.horde.org in the Syncronization queue.  
Git version is fine.

-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2200 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/horde/attachments/20130628/d3eb16a8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20130628/d3eb16a8/attachment-0001.bin>


More information about the horde mailing list