Summary | Contact addresses import incorrectly from export file |
Queue | Turba |
Queue Version | 4.2.14 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | Horde Developers (at) , mrubinsk (at) horde (dot) org |
Requester | chris (at) theduncans (dot) us |
Created | 02/20/2017 (3071 days ago) |
Due | |
Updated | 10/20/2017 (2829 days ago) |
Assigned | 03/16/2017 (3047 days ago) |
Resolved | 03/16/2017 (3047 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 3b6c2fd974bbdb724b02534e9aeb5cc2da98d09a
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu, 16 Mar 2017 13:05:31 -0400
Bug: 14584Fix importing vCard "LABEL" fields.M config/backends.php
https://github.com/horde/turba/commit/3b6c2fd974bbdb724b02534e9aeb5cc2da98d09a
State ⇒ Resolved
commit ccfb7224bbd587cd68a7153b200372cb97b8188d
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu Mar 16 13:03:41 2017 -0400
Bug: 14584Fix importing vCard "LABEL" fields.turba/config/backends.php | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/ccfb7224bbd587cd68a7153b200372cb97b8188d
commit c25a08b1264807d2390b1c20b4941054b995061d
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu Mar 16 13:03:41 2017 -0400
Bug: 14584Fix importing vCard "LABEL" fields.turba/config/backends.php | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/c25a08b1264807d2390b1c20b4941054b995061d
[home|work|other]Address fields. sscanf() interprets ANY white space
as equivalent to any other. So, e.g.,
sscanf("123 Main St\nSomeTown", "%s\n%s"); splits after the "123".
State ⇒ Assigned
Assigned to
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Contact addresses import incorrectly from export file
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
re-imported from that file, choosing to overwrite the standard address
book without editing the file at all. The old contact would have had a
full address filled out, but the new contact (again, unchanged) only
imported the street number into street, and the first word of the
street name into city. It appears to be the LABEL parameter messing
things up, because removing it allowed that contact to have their
address imported correctly. Below is a sample from the export with
sensitive info changed:
LABEL;HOME;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:123 Main
Street=0ANew York, NY 10001
ADR;HOME:;;123 Main Street;New York; NY;10001;United States