6.0.0-alpha12
6/1/25

[#6223] List error when contact lacks name
Summary List error when contact lacks name
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners chuck (at) horde (dot) org
Requester nathan (at) nwacg (dot) net
Created 02/06/2008 (6325 days ago)
Due
Updated 02/15/2008 (6316 days ago)
Assigned 02/12/2008 (6319 days ago)
Resolved 02/15/2008 (6316 days ago)
Milestone
Patch No

History
02/15/2008 08:36:27 PM Chuck Hagenbuch Comment #4
Assigned to Chuck Hagenbuch
Taken from Horde DevelopersHorde Developers
State ⇒ Resolved
Reply to this comment
I've fixed the notice. I have mixed feelings about defaulting to 
company also - can you please bring this up on the Turba mailing list 
for discussion, or at least open a separate enhancement ticket for it?



Thanks!
02/12/2008 08:00:52 PM nathan (at) nwacg (dot) net Comment #3 Reply to this comment
I don't consider falling back to the company name as a viable
solution though.
I agree that it's not the best solution, as there's nothing to 
guarantee that there will be a company name. However, having it use 
the company name (or some other logical fields) when there is no name 
information makes sense, since it's what other PIMs do.



As an example, what if you have an entry in your phone's phonebook for 
a restaurant where you like to get takeout? Surely you want the 
contact to have the name of the restaurant, and not the name of the 
proprietor.



I don't consider putting the name of the business in the Last Name 
field a good solution, either. Better to not have false information in 
your database, in case you want to do something else with it later.
02/12/2008 10:56:45 AM Jan Schneider Comment #2
Priority ⇒ 2. Medium
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Reply to this comment
I don't consider falling back to the company name as a viable solution though.
02/06/2008 05:43:22 PM nathan (at) nwacg (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ List error when contact lacks name
Queue ⇒ Turba
New Attachment: turba.patch Download
State ⇒ Unconfirmed
Reply to this comment
After syncing against my phone, when browsing the contact list by 
letter, I get the following message:



Notice: Uninitialized string offset: 0 in 
/usr/share/hordecvs/turba/lib/ListView.php on line 467



Additionally, in the list of all contacts, there are many at the top 
which appear blank with the default Turba column configuration.



I'm running CVS HEAD checked out at 2008-02-06 00:16 UTC.



On S60 phones, contacts don't require first/last name, as the Company 
field will be used in place of the name when there is no first/last 
name. Attached is a patch to do the same thing in Turba.

Saved Queries