Closed
Bug 886809
Opened 11 years ago
Closed 11 years ago
Import SIM contacts fails if contact has no number
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: Bebe, Assigned: allstars.chh)
References
Details
(Keywords: regression, Whiteboard: [fixed-in-birch])
Attachments
(3 files)
146.44 KB,
text/plain
|
Details | |
1.30 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
1.46 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
STR: 1. Add a contact on a SIM card that has ONLY a name 2. Insert the sim in a Unaghi with: Gecko http://hg.mozilla.org/mozilla-central/rev/76820c6dff7b Gaia 427e0100826c677cee1341c4d83793321f16bb5f BuildID 20130624031223 Version 24.0a1 3. Open the contacts app 4. Tap settings 5. Tap import from Sim card 6. Wait Expected: 6. A contact is imported with only the name Actual: 6. The Reading from SIM card.... message is present and the app is stuck there. If we kill the app no contact is imported
Comment 1•11 years ago
|
||
Gregor, is this familiar to you, or should I dive into the gaia code?
Reporter | ||
Comment 2•11 years ago
|
||
If I try to import a contact that has only a phone number but no name the import works I think it has something to do with Bug 847741 but I'm not sure
Comment 3•11 years ago
|
||
Is there anything in logcat? It's hard to tell if this is a contacts API problem or a RIL related problem.
Comment 4•11 years ago
|
||
To Gregor/Francisco/devs, what is the definition of a valid contact? Should it have both name and phonenumber or is just one of each enough? My Android phone for example won't let me create a SIM contact without a number. but just a number and no name is acceptable too. Is there validation in the Gaia import contact code?
Comment 5•11 years ago
|
||
I'm going to guess this is probably a regression, right? If so, I'm guessing this is a blocker by it's definition.
blocking-b2g: --- → leo?
Keywords: regression
Comment 6•11 years ago
|
||
In our automation it is working fine on v1-train and failing against master (build noted in comment #0) so yes it is a regression.
Updated•11 years ago
|
blocking-b2g: leo? → koi?
Comment 7•11 years ago
|
||
(In reply to Zac C (:zac) from comment #4) > To Gregor/Francisco/devs, what is the definition of a valid contact? Should > it have both name and phonenumber or is just one of each enough? As far as the Contacts API is concerned, it doesn't have to have any properties. (i.e. new mozContact({}) works and creates a valid contact).
Assignee | ||
Updated•11 years ago
|
Component: Gaia::Contacts → DOM: Device Interfaces
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #768179 -
Flags: review?(htsai)
Assignee | ||
Updated•11 years ago
|
Attachment #768180 -
Flags: review?(htsai)
Comment 11•11 years ago
|
||
Comment on attachment 768179 [details] [diff] [review] Part 1: Patch Review of attachment 768179 [details] [diff] [review]: ----------------------------------------------------------------- Great!
Attachment #768179 -
Flags: review?(htsai) → review+
Updated•11 years ago
|
Attachment #768180 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 12•11 years ago
|
||
http://hg.mozilla.org/projects/birch/rev/d6fc9a9d76cc http://hg.mozilla.org/projects/birch/rev/d8beb5ae6053
Whiteboard: [fixed-in-birch]
Comment 13•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d6fc9a9d76cc https://hg.mozilla.org/mozilla-central/rev/d8beb5ae6053
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Updated•11 years ago
|
blocking-b2g: koi? → ---
Comment 14•11 years ago
|
||
Removing koi? since this is in gecko 25 which is < 26 which will be the basis for Firefox OS 1.2.
You need to log in
before you can comment on or make changes to this bug.
Description
•