Summary | saving recipients automatically causes duplicate entries |
Queue | Turba |
Queue Version | 4.0.1 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | viktor (at) szepe (dot) net |
Created | 12/03/2012 (4597 days ago) |
Due | |
Updated | 02/11/2013 (4527 days ago) |
Assigned | 01/03/2013 (4566 days ago) |
Resolved | 01/15/2013 (4554 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
turba/lib/Api.php:682
turba/lib/Api.php:682
// Check if the entry already exists in the data source.
$unique_key = 'email';
if (array_key_exists($unique_key, $content)) {
$result = $driver->search(array($unique_key =>
$content[$unique_key]));
} else {
$result = $driver->search($content);
}
i.e. name and address in this case. Only if all fields match, a
contact is considered a duplicate.
I got this far:
imp/lib/Compose.php:1187
$registry->call('contacts/import', array(array('name' => $name,
'email' => $recipient->bare_address), 'array', $abook));
Where do I find the registered 'contacts/import' funcition?
Thank you!
i.e. name and address in this case. Only if all fields match, a
contact is considered a duplicate.
the email address?
State ⇒ Not A Bug
i.e. name and address in this case. Only if all fields match, a
contact is considered a duplicate.
So *are* you getting duplicates or *not*? And if you do, under which
circumstances?
same name, turba creates another entry with the same address. I
suspect turba compares the names, not the address.
e.g.
Ételmanufaktúra, Mannatural, info@mannatural.hu
Ételmanufaktúra,, Mannatural,, info@mannatural.hu
Mannatural, Ételmanufaktúra info@mannatural.hu
Mannatural,, Ételmanufaktúra, info@mannatural.hu
State ⇒ Feedback
When I write a message to someone his/her name get into the address book
IF the there is a difference between the new name and the name
already in the address book. Same names don't get duplicated.
*are* you getting duplicates or *not*? And if you do, under which
circumstances?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ saving recipients automatically causes duplicate entries
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
When I write a message to someone his/her name get into the address book
IF the there is a difference between the new name and the name already
in the address book. Same names don't get duplicated.
Thank you!