Closed Bug 925420 Opened 11 years ago Closed 10 years ago

[B2G][Contacts] Contact names with long first names will not be imported correctly from the SIM

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: KTucker, Unassigned)

Details

(Whiteboard: burirun2, burirun1.3-3)

Attachments

(1 file)

Description:
Contact names with long first names will not be exported/imported correctly from the SIM. The contact's last name will be missing if they have a long first name.

Repro Steps:
1)  Updated Buri to Build ID: 20131010004001
2)  Tap on the "Contacts" icon.
3)  Tap on the "+" icon to add a contact.
4)  Tap on the "Name" field and enter in a first name that has at least 25 characters.
5)  Tap on the "Last name" field and enter in a last name.
6)  Tap on the "Done" button to save the contact.
7)  Tap on the "Settings" icon.
8)  Tap on the "Export Contacts" button.
9)  Tap on the "Sim card".
10)  Tap on the contact with the long name to select it.
11)  Tap on "Export".
12)  After the contact has been exporteed, tap on "Import Contacts".
13)  Tap on "Sim card".
14)  After the contacts have been imported, tap the "Back" button.
15)  Tap the "Done" button on the settings page.
16)  Find the contact with the long name that was imported and tap on it.
17)  Tap the "Edit Contact" icon in the upper right corner of the screen.

Actual:
The last name of the contact is missing.

Expected:
The first name and the last name of the contact is exported/imported correctly regardless if they have a long name or not.

Environmental Variables
Device: Buri v 1.2.0 Mozilla RIL
Build ID: 20131010004001
Gecko: http://hg.mozilla.org/releases/mozilla-aurora/rev/3f16dc100b1f
Gaia: 51f3c79ea93bb91d3b12e50b49d203a049a94a9b
Platform Version: 26.0a2
RIL Version: 01.02.00.019.056 

Notes:
Repro frequency: 100%
Link to failed test case: https://moztrap.mozilla.org/manage/case/9898/
See attached: logcat
This issue occurs on Leo v 1.1.0 Mozilla but i don't know if this is a export or import issue. The last name is missing when importing a contact that has a long first name on v 1.1.0 but this version does not have export functionality. The contact was originally created and exported to the SIM on Buri v 1.2.0.

Environmental Variables
Device: Leo v 1.1.0 Mozilla COM RIL
Build ID: 20131001041206
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/c630289d6388
Gaia: 02b975e6ce12922928c74276ac7d19432a03f126
Platform Version: 18.1
RIL Version: 01.01.00.019.240
Whiteboard: burirun2 → burirun2, burirun1.3-3
Blocks: 974235
No longer blocks: 974235
Yoshi,

What is the maximum number of characters that can be stored on the name field of a SIM card record? 

thanks
Flags: needinfo?(allstars.chh)
The maximum size of the name field depends on the SIM Card. Common ones are 14, 16 bytes, so generally 14~16 (SMS 7 bit) characters.

If UCS2 encoding is used there will be less. 6~7 UCS2 characters, (including 2 bytes for encoding information)
Flags: needinfo?(allstars.chh)
according to comment #3 we can close this bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: