Summary | Add different import methods or logics for syncml vs. inter-application imports |
Queue | Synchronization |
Queue Version | Git master |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | patrick.abiven (at) apitech (dot) fr |
Created | 09/10/2008 (6139 days ago) |
Due | |
Updated | 01/28/2016 (3443 days ago) |
Assigned | 10/24/2010 (5365 days ago) |
Resolved | 01/28/2016 (3443 days ago) |
Milestone | |
Patch | No |
State ⇒ Feedback
Milestone ⇒
default_* source. Not really sure how else this would work, even with
a dedicated method since we allow multiple sources per user, but
clients don't get to specify multiple sources.
We also have a parameter since H4 for the format the data is being
imported in.
If still needed, would have to target for H6 since changing something
like this would be a BC break.
State ⇒ Assigned
Version ⇒ Git master
Milestone ⇒ 4
Type ⇒ Enhancement
State ⇒ Accepted
at the moment, because the import function is not only used for
SyncML but for other imports too.
- lib/SyncML/Device/Backend/Horde.php, function addEntry, if the
$database is set to 'contacts', then we call the '/import' function
with a specific value for the third argument.
- turba/lib/api.php, function _turba_import, if $import_source
argument is set to our specific value, then we retrieve the address
book from prefs['sync_books'] and not from prefs['default_dir']
Regards
Patrick
login with? Otherwise it doesn't make any sense, because the address
book names have nothing to do with names.
If this is the user name, then this is the correct behavior, if you
use shares with the localsql source. Read the upgrading instructions
and check the mailing list archive.
Regarding the default_dir vs. sync_books, there is not much we can do
at the moment, because the import function is not only used for SyncML
but for other imports too.
format of the pref['default_dir'] which contained 'localsql' (Horde
3.1) and should now contain 'firstname.lastname' (Horde 3.2).
Sorry for my poor report.
We had a Horde 3.1 platform, and now we are moving to Horde 3.2 but we
are keeping the same database. So values of user options are kept
(from horde_prefs table). We notice that the format of the
['default_dir'] option has changed between Horde 3.1 (it was localsql)
and Horde 3.2 (it is now firstname.lastname).
Regards
Patrick
State ⇒ Feedback
format of the pref['default_dir'] which contained 'localsql' (Horde
3.1) and should now contain 'firstname.lastname' (Horde 3.2).
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Add new contact uses [default_dir] and not [sync_books]
Type ⇒ Bug
Queue ⇒ Synchronization
Adding a new contact through SyncML uses the _turba_import function
(turba/lib/api.php) which retrieves the adress book from
pref['default_dir'] and not from pref['sync_books'].
Upgrading from Horde 3.1 to Horde 3.2 raises an issue about the format
of the pref['default_dir'] which contained 'localsql' (Horde 3.1) and
should now contain 'firstname.lastname' (Horde 3.2).
Regards
Patrick