Closed
Bug 909177
Opened 12 years ago
Closed 12 years ago
[B2G][Helix][Contacts][Wangchao]When reboot after importing contact from SIM, the contacts records diaappeared.
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect, P1)
Firefox OS Graveyard
Gaia::Contacts
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lecky.wanglei, Unassigned)
References
Details
Attachments
(7 files)
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0)
Steps to reproduce:
1.import contacts from SIM, the record disappeared after reboot.
This problem is only happened on only one device. And it is Inevitable on this device.
2. For the same device, importing many contacts from SIM, one of them is: Name: Alice. But enter 'a' in the SEARCH BAR, it can not match to "Alice", and the icon of refresh it always display.
I think it is maybe the problem of the database of Contacts.
There is no log for app: Contacts. If you need info, you can supply ways and let me do this for you, because only one device can repro this issue.
Thanks!
I found the indexdDb contacts is abnormal.
If i used adb to import a correct indexdDb contacts to the device.
All the problem is fixed.
Could you help to analyze why the indexdDb contacts(in attachment) is abnormal.
Comment 3•12 years ago
|
||
Alberto,
Description says this is a single device issue and reproduced on the device. Can you share some insights here based on the information and attachments?
Flags: needinfo?(alberto.pastor)
Alberto,
Is there any progress?
You can import the db i uploaded to repro this problem.
Thanks!
Comment 5•12 years ago
|
||
Lecky,
Have you reproduced this again at all?
David, do you have anyone that can follow up on this with the DB provided in attachment?
Severity: critical → normal
blocking-b2g: hd? → ---
Flags: needinfo?(dscravaglieri)
Comment 6•12 years ago
|
||
Hi folks,
we will need more information about this error.
Version for gecko and gaia will help.
Thanks
F.
Hi Alberto:
Our version:
Gaia v1.1HD: c0ea0a4943dc8d3751b07f5b5c5d3abe06364a14
Gecko v1.1HD: 170f9e477571127cd40997fa2abe262ed43f0e4d
Thanks!
Hi Alberto:
Why does the DB be incorrect?
Is there any progress?
Thanks!
blocking-b2g: --- → hd?
Flags: needinfo?(wchang)
Flags: needinfo?(francisco.jordano)
Flags: needinfo?(alberto.pastor)
Comment 9•12 years ago
|
||
Single device problem, not blocking.
David, Alberto,
Can anyone follow up on this?
Severity: critical → normal
blocking-b2g: hd? → ---
Flags: needinfo?(wchang)
Flags: needinfo?(alberto.pastor)
| Reporter | ||
Comment 10•12 years ago
|
||
Hi Wayne:
How does this going?
Can you help to share someone to tell me on what condition, the DB will be possiable distroyed.
So we will do some test to help find the reason.
Thanks!
Flags: needinfo?(wchang)
Comment 11•12 years ago
|
||
The relevant devs have already been added to this bug, adding Jose as well.
Flags: needinfo?(wchang) → needinfo?(jmcf)
Updated•12 years ago
|
Flags: needinfo?(jmcf)
Flags: needinfo?(alberto.pastor)
Comment 12•12 years ago
|
||
Hi guys,
I believe this should be checked by someone who knows the API implementation DB details. May Ben Turner or Gregor might help. Ben, Gregor, could you take a look?
thanks
Flags: needinfo?(francisco.jordano)
Updated•12 years ago
|
Flags: needinfo?(bent.mozilla)
Flags: needinfo?(anygregor)
Comment 13•12 years ago
|
||
Can we get a logcat during importing the contacts from SIM?
Flags: needinfo?(anygregor)
Comment 14•12 years ago
|
||
Oh one more question.
What happens if you quit and restart the contacts app via the window manager.
Do you see the contacts you imported?
It would be strange if this would only show up after you restart the device.
| Reporter | ||
Comment 15•12 years ago
|
||
Hi Gregor:
This is not only show up after restart the device.
The title just says a Phenomenon. After this, whether you restart or not, it failed to get contacts,
such as dial a contact in Dialer, send a contact sms, it all failed to match the contact.
Then i tracked and found the DB is destroyed, because if i replace it with a good one, all problem is resolved. It i push the incorrect DB to other device, the issue is reproduced.
We want to know why the DB is possiable distroyed? Because under this condition, the device can not recover unless reset or re-install the Software.
Thanks!
Flags: needinfo?(anygregor)
Comment 16•12 years ago
|
||
I can't do anything here without STR or a logcat.
Flags: needinfo?(anygregor)
Keywords: qawanted
| Reporter | ||
Comment 17•12 years ago
|
||
| Reporter | ||
Comment 18•12 years ago
|
||
Hi Gregor:
I have uploaded the adb both for "import 250 contacts from sim" and "reboot then disappeared".
Can you take a look at it.
Thanks!
Flags: needinfo?(anygregor)
| Reporter | ||
Comment 20•12 years ago
|
||
Hi
We think this issue is related to 906618
Depends on: 906618
Priority: P2 → P1
| Reporter | ||
Comment 21•12 years ago
|
||
Hi Ben Turner&&Gregor
Could you help us to add some DB write/read logs on our firmware, then we can do a valid reproduce for you, if you have any questions, please contact me without any doubt.
zhao_tao59@hotmail.com
Flags: needinfo?(bent.mozilla)
Comment 22•12 years ago
|
||
Can you apply this patch, rerun your tests and post the logcat again?
Flags: needinfo?(anygregor)
Updated•12 years ago
|
Flags: needinfo?(lecky.wanglei)
| Reporter | ||
Comment 23•12 years ago
|
||
Hi ALL:
I will do a full test with the patch you provided and feedback soon.
Thanks!
Comment 24•12 years ago
|
||
Hi, all,
I cannot reproduce this case on latest Mozilla build and commercial build.
* Test Build:
+ Commercial build
- Gaia: 4afe209fb0d5c0e03d655a4e900ab8f13ca8fb4a
- Gecko:
- BuildID 20131016181557
- Version 18.0
=> Cannot reproduce
+ Mozilla Build
- Gaia: c829a2042594b6c3a4899ee27979799a0f301534
- Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/f7c657f6d019
- BuildID 20131015042201
- Version 18.0
=> Cannot reproduce
This might relate to test data (The contact of SIM card).
I have ever met a similar bug.
If FxOS import non-regular data (Contact) into contact app, the contact app cannot show the correct contact information.
Anyway, you could try Gregor's debug patch to see if we have further clue.
Thanks!
Keywords: qawanted
| Reporter | ||
Comment 25•12 years ago
|
||
We are doing the test now.
The step is:
1.import 100 sim contacts
2.reboot to see if the contacts is still exist.
3.reset the device to remove the 100 contacts and return to do 1. again.
Loop for 100 times.
I will feedback as we finish test.
Thanks!
Comment 26•12 years ago
|
||
Please reopen it if bug still happen.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•12 years ago
|
Flags: needinfo?(bent.mozilla)
| Reporter | ||
Comment 27•12 years ago
|
||
Hi All:
I used our latest version, it reproduced. I will upload the DB.
I found something unusual, maybe these will do some help.
1. The DB has 3985 records, is this larger than limit?
2. When search '1' in contacts, the refresh icon is always exist(please see the attachment).
3. When search '1' in short message, it can match the record in ContactDB(please see the attachment).This means SMS can read the record in ContactDb, but Contacts can not read ContactDb.
Hi Wayne:
Can you give some help on this? My opinion is:
1. the limit for Contacts record number, so it can not read ContactDb, then cause this.
2. The interface is different from CONTACTS and SMS, then CONTACTS can not read, but SMS can.
If there is any tip, great help for us.
Thanks!
Status: RESOLVED → UNCONFIRMED
Flags: needinfo?(lecky.wanglei) → needinfo?(wchang)
Resolution: WORKSFORME → ---
| Reporter | ||
Comment 28•12 years ago
|
||
| Reporter | ||
Comment 29•12 years ago
|
||
| Reporter | ||
Comment 30•12 years ago
|
||
Comment 31•12 years ago
|
||
Did you test with Gregor's debug patch? It enables some logs for him.
Flags: needinfo?(wchang)
| Reporter | ||
Comment 32•12 years ago
|
||
We test with Gregor's debug patch version(100 times), but it did not reproduced.
Today the testor used our Formal version to do some other test, it reproduce unexpectly.
| Reporter | ||
Comment 33•12 years ago
|
||
| Reporter | ||
Comment 34•12 years ago
|
||
Hi wanye:
I used the version to read the DB, then catch the log, Please see: contacts 0.log
E/GeckoConsole( 644): [JavaScript Error: "TypeError: contact.tel[0].value is undefined" {file: "app://communications.gaiamobile.org/contacts/js/contacts_list.js" line: 860}]
It seems tel[0].value is not defined caused fail.
Could you assign a guy for this, at the same time, i will do further analyze.
Thanks!
Flags: needinfo?(wchang)
Comment 35•12 years ago
|
||
Lecky,
Can you also make sure you reproduce this on a mozilla build especially with Gregor's patch to enable the logs?
Gregor, are you able to have someone to check this with available info as is?
Flags: needinfo?(wchang) → needinfo?(anygregor)
Comment 36•12 years ago
|
||
This might need the upgrade fix we have here:
http://hg.mozilla.org/mozilla-central/annotate/5a9ac6fed6ff/dom/contacts/fallback/ContactDB.jsm#l555
Flags: needinfo?(anygregor)
| Reporter | ||
Comment 37•12 years ago
|
||
Thanks for your help, this works for me!
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•