[Tickets #14798] Manually created address books have broken ActiveSync settings

[email protected]
Newsgroups gmane.comp.horde.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14798
------------------------------------------------------------------------------
  Ticket             | 14798
  Created By         | [email protected]
  Summary            | Manually created address books have broken ActiveSync
                     | settings
  Queue              | Turba
  Version            | 4.2.17
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


[email protected] (2018-03-29 17:50) wrote:

It seems that manually created address books, when automatic share  
creation is disabled, do not work correctly with ActiveSync - even if  
the address book is the only one and set as default in the interface:

1. New contacts created on the server are synced to the device.
2. New contacts on the device are not synced to the server.
3. Amendments to server contacts previously synced on the device, done  
on the device, are synced back to the server.

The ActiveSync support for multiple address books is disabled.It seems  
that there are two fundamental differences between shares created  
automatically and those created manually. Looking at the  
turba_sharesng table, in the attribute_params column:

1. If the auto share creation is disabled, the created shares look  
something like this:

a:2:{s:6:"source";s:8:"localsql";s:4:"name";s:23:"MOT1v6aHfUmi8k66VG99TU_";}

If I set the share as default for the account, it actually adds a  
's:7:"default";b:0' to the above- for some bizarre reason - so it  
actually disables the default value, it seems. It also gets that  
cryptic name, regardless of what I name it in the interface.

2. With the auto share creation enabled, the record looks something like this:

a:3:{s:6:"source";s:8:"localsql";s:7:"default";b:1;s:4:"name";s:25:"[email protected]";}

So the share is set as the default, and it also gets a meaningful name.

It seems to me that something is broken when auto share creation is  
disabled, and address book shares get created with the wrong attributes.

Incidentally, changing "b:0" to "b:1" manually doesn't fix ActiveSync.  
But deleting the manually created address book, enabling auto share  
creation, and allowing it to be automatically recreated does fix things.

I have tested ActiveSync on iPhone 5 and 6, and with TBSync  
Thunderbird extension



-- 
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.