[Tickets #12554] Failing to delete multiple contacts as requested by device

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Aug 8 21:37:30 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/12554
------------------------------------------------------------------------------
  Ticket             | 12554
  Created By         | carlos.velasco at nimastelecom.com
  Summary            | Failing to delete multiple contacts as requested by
                     | device
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


carlos.velasco at nimastelecom.com (2013-08-08 21:37) wrote:

Using Android 4.1 with contacts synced, if you try to remove more than  
1 contact only the first one in the input is removed (deleted).

Input is like:

2013-08-08T23:15:25+02:00 DEBUG: [6461] I      <Remove>
2013-08-08T23:15:25+02:00 DEBUG: [6461] I       <ServerEntryId>
2013-08-08T23:15:25+02:00 DEBUG: [6461] I          
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2013-08-08T23:15:25+02:00 DEBUG: [6461] I       </ServerEntryId>
2013-08-08T23:15:25+02:00 DEBUG: [6461] I      </Remove>
2013-08-08T23:15:25+02:00 DEBUG: [6461] I      <Remove>
2013-08-08T23:15:25+02:00 DEBUG: [6461] I       <ServerEntryId>
2013-08-08T23:15:25+02:00 DEBUG: [6461] I          
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
2013-08-08T23:15:25+02:00 DEBUG: [6461] I       </ServerEntryId>
2013-08-08T23:15:25+02:00 DEBUG: [6461] I      </Remove>

2013-08-08T23:15:25+02:00 INFO: [6461]  
Horde_Core_ActiveSync_Driver::_smartStatMessage(@Contacts@, Array)
2013-08-08T23:15:25+02:00 INFO: [6461] Updating state during delete
2013-08-08T23:15:25+02:00 INFO: [6461]  
Horde_Core_ActiveSync_Driver::_smartStatMessage(@Contacts@, Array)
2013-08-08T23:15:25+02:00 INFO: [6461] Updating state during delete
2013-08-08T23:15:25+02:00 INFO: [6461]  
Horde_Core_ActiveSync_Driver::deleteMessage() @Contacts@: Array
(
     [0] => xxxxxxxxxxxxxxxxxxxx
     [1] => yyyyyyyyyyyyyyyyyyyy
)

In the debug logs of Horde, there is only *one* delete:

Aug  8 23:15:25 user:debug HORDE: HORDE: [turba] SQL  (0.0403s)
         SELECT object_id, owner_id, object_type, object_members, object_uid,
           object_firstname, object_lastname, object_middlenames,
           object_nameprefix, object_namesuffix, object_alias,
           object_yomifirstname, object_yomilastname, object_bday,
           object_anniversary, object_spouse, object_photo, object_phototype,
           object_homestreet, object_homepob, object_homecity,
           object_homeprovince, object_homepostalcode, object_homecountry,
           object_workstreet, object_workpob, object_workcity,
           object_workprovince, object_workpostalcode, object_workcountry,
           object_otherstreet, object_otherpob, object_othercity,
           object_otherprovince, object_otherpostalcode, object_othercountry,
           object_department, object_manager, object_assistant, object_tz,
           object_homeemail, object_homephone, object_homephone2,  
object_homefax,
           object_workphone, object_workphone2, object_cellphone,
           object_carphone, object_radiophone, object_companyphone,
           object_assistantphone, object_fax, object_pager, object_title,
           object_role, object_company, object_logo, object_logotype,
           object_category, object_notes, object_url, object_freebusyurl,
           object_pgppublickey, object_smimepublickey, object_imaddress,
           object_imaddress2, object_imaddress3, object_workemail FROM
           turba_objects WHERE (object_uid =
           'xxxxxxxxxxxxxxxxxxxxxxxxxxx' AND
           owner_id = 'zzzzzzzzzzzzzzzzzzz') [pid 6461 on line 319 of  
"/usr/share/pear/Horde/Db/Adapter/Mysqli.php"]
Aug  8 23:15:25 user:debug HORDE: HORDE: [turba] SQL  (0.0019s)
         SELECT object_id, owner_id, object_type, object_members, object_uid,
           object_firstname, object_lastname, object_middlenames,
           object_nameprefix, object_namesuffix, object_alias,
           object_yomifirstname, object_yomilastname, object_bday,
           object_anniversary, object_spouse, object_photo, object_phototype,
           object_homestreet, object_homepob, object_homecity,
           object_homeprovince, object_homepostalcode, object_homecountry,
           object_workstreet, object_workpob, object_workcity,
           object_workprovince, object_workpostalcode, object_workcountry,
           object_otherstreet, object_otherpob, object_othercity,
           object_otherprovince, object_otherpostalcode, object_othercountry,
           object_department, object_manager, object_assistant, object_tz,
           object_homeemail, object_homephone, object_homephone2,  
object_homefax,
           object_workphone, object_workphone2, object_cellphone,
           object_carphone, object_radiophone, object_companyphone,
           object_assistantphone, object_fax, object_pager, object_title,
           object_role, object_company, object_logo, object_logotype,
           object_category, object_notes, object_url, object_freebusyurl,
           object_pgppublickey, object_smimepublickey, object_imaddress,
           object_imaddress2, object_imaddress3, object_homeemail,
           object_workemail FROM turba_objects WHERE object_id IN
           ('wwwwwwwwwwwwwwwww') AND owner_id =
           'zzzzzzzzzzzzzzzzzzzzzzzzzzz' [pid 6461 on line 319 of  
"/usr/share/pear/Horde/Db/Adapter/Mysqli.php"]
Aug  8 23:15:25 user:debug HORDE: HORDE: [turba] SQL  (0.0028s)
         DELETE FROM turba_objects WHERE object_id =  
'wwwwwwwwwwwwwwww' [pid 6461 on line 319 of  
"/usr/share/pear/Horde/Db/Adapter/Mysqli.php"]






More information about the bugs mailing list