6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
12/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12188] ActiveSync: Trouble selecting the default addressbook on contact add/modify
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . ..__.. ..__ [__)\ /| ||\/|[__) | \ \/ |__|| ||
Comment
> Hi, > > I've just debugged a silly problem for two hours. My account has two > contact shares: > - "BACKUP" > - "Contacts" > > I've never configured the "default_dir" or "sync_books" prefs. I've > added a new contact via ActiveSync and by chance it ended up in the > "Contacts" share. > > Next I modified the contact on the AS device again. This modification > never made it to the server, the ActiveSync log always complained it > does not find the object with the given UID. > > The problem boils down to this: > - turba/lib/Api.php:_getSources() as used by Api.php:replace() > falls back to Turba::getDefaultAddressbook() in case "sync_books" > is not set. > > - Api.php:import() uses the first editable addressbook instead. > > > The attached patch make this more consistent by trying > the default addressbook first on import(). > > > Similar problem: When the user configures a default addressbook that > is not part of "sync_books", the same problem will appear again. It > would be nice if we could output a warning if that's the case. > May be via a "warning notification"? > > Thomas >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers