Ticket #933 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Contacts fail to dial from CSV backend

Reported by: texoft2 Owned by: mrmoku
Priority: critical Milestone:
Component: shr-contacts Version: SHR-testing
Keywords: Cc:

Description

I've imported my contacts into csv-contacts.txt using this template:

Name=%s,Phone=%s,Home=%s,BizPhone=%s,BizPhone2=%s,HomePhone=%s

they correctly appear in Contacts application, however no number can be dialed. Tapping on "Call" button produces no visible activity.

Just:

Name=%s,Phone=%s

works fine.

Change History

comment:1 follow-up: ↓ 2 Changed 3 years ago by TAsn

Do you see a number in contact list?

comment:2 in reply to: ↑ 1 Changed 3 years ago by texoft2

Yes.
Replying to TAsn:

Do you see a number in contact list?

comment:3 Changed 3 years ago by TAsn

This is just too weird, mind giving me a complete csv file (no need for real data, just one that's broken for you so I'll be able to modify to a number of my own) to play with?

Thanks. (I don't know much about CSV and I'm too busy to rtfm atm)

comment:4 Changed 3 years ago by texoft2

Unfortunately I don't have complete file at hand right now.
I've tested just now with simply:

Name=Test me,Phone=12345,Home=*104*#,BizPhone=54321,BizPhone2=,HomePhone=1111

Last number appears in Contact list (and can be dialed), other appear in details screen (no way to dial them though).

This indicates, that csv-backed is working, but I'll try to create a more complex file to confirm this.

comment:5 Changed 3 years ago by texoft2

  • Status changed from new to closed
  • Resolution set to fixed

OK, I did some more testing. Seems, that cause of the problem was "malformed" numbers. No spaces are allowed phone numbers.

I'll write a feature request ticket to allow white space in phone numbers.

comment:6 Changed 3 years ago by TAsn

as I thought, I figured it'd be something with the file :P
(That's why I requested *your* file and not created my own)

Note: See TracTickets for help on using tickets.