[Tickets #14789] BugFix CLI import + delete previous data on CLI import
noreply at bugs.horde.org
noreply at bugs.horde.org
Sun Mar 4 07:29:07 UTC 2018
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/14789
------------------------------------------------------------------------------
Ticket | 14789
Erstellt Von | lucabert at lucabert.de
Zusammenfassung | BugFix CLI import + delete previous data on CLI import
Warteschlange | Turba
Version | 4.2.21
Typ | Enhancement
Status | New
Priorität | 2. Medium
Milestone |
Patch | 1
Zuständige |
------------------------------------------------------------------------------
lucabert at lucabert.de (2018-03-04 07:29) hat geschrieben:
BugFix:
CLI import always said that no address book was found (see thread
https://lists.horde.org/archives/turba/Week-of-Mon-20180219/007236.html).
The problem was that if IMAP ist used to authenticate the user the IMP
module must be loaded.
Enhancement:
A very useful option to allow deleting all previous data in an address
book to avoid duplicated entries and/or old entries no more valid.
Since calling
$injector->getInstance('Turba_Factory_Driver')->create($source)->deleteAll();
from outside the Api-class always results in an error that the source
does not exists, I added the feature to allow the user deleting all
previous data in an address book by passing the option
'delete_previous' to the import function.
A patch for the BugFix and the enhancement (files: turba/lib/Api.php
and turba-import-vcards) is attached.
In this version of turba-import-vcards the option to purge previous
data is default.
I hope these fixes will be soon imported in the main code of Horde.
lucabert at lucabert.de (2018-03-04 07:29) hat hochgeladen: turba-import.patch
https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=turba-import.patch&ticket=14789&fn=%2Fturba-import.patch
More information about the bugs
mailing list