Closed Bug 934876 Opened 11 years ago Closed 10 years ago

[B2G][Helix][dialer][tongxiao]After end a call,it could not be added to the call log.

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lecky.wanglei, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/4.0 (compatible; MSIE 7.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; MALC; aff-kingsoft-ciba; .NET4.0C; .NET4.0E; Tablet PC 2.0) Steps to reproduce: 【Detail Description*】: After end a call,it could not be added to the call log. 【Repro Steps*】: 1. Add 20 contacts back into the phone book. 2. Delete 20 of the preloaded contacts. 3. Make a 2G voice call from the made call list,The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 4. Make a 2G voice call from the missed call list,The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 5.Make a 2G voice call from the phone book.The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 6.Make a 2G voice call from the received call list,The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 7. Make a 3G voice call from the made call list,The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 8. Make a 3G voice call from the missed call list,The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 9.Make a 3G voice call from the phone book.The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 10.Make a 3G voice call from the received call list,The call duration shall be 5 seconds for each call made.Repeated call as 25 cycles. 【Expect Result*】:The ended call will be added to the call log. 【Real Result*】:after test about a hour , the ended call will not be added to the call log. 【Test Count*】:10 【Found Count*】:10 【Gaia commit ID*】:c0ea0a4943dc8d3751b07f5b5c5d3abe06364a14 【Gecko commit ID*】: 170f9e477571127cd40997fa2abe262ed43f0e4d 【Log*】: 【Network environment】: 【Resume operation】: 【Carrier】:
【Expect Result*】:The ended call will be added to the call log. 【Real Result*】:after test about one or two hours , the ended call will not be added to the call log.
Priority: -- → P2
Hi, I have added "dump log "in the gaia. Handled_call.js: HandledCall.prototype.disconnected = function hc_disconnected() { var entry = this.recentsEntry; //add dump('hc_disconnected'); //add ... //add dump('go into addRecentEntry'); //add OnCallHandler.addRecentEntry(entry); ... this.remove(); }; Oncall.js: function addRecentEntry(entry) { var message = { type: 'recent', entry: entry }; //add log dump('postToMainWindow'); //add log postToMainWindow(message); } After the ended call will not be added to the call log , I make a call and catch the log. I found that there is 'hc_disconnected' and 'go into addRecentEntry',but there is no 'postToMainWindow'. this is very strange. Could you have a look at this?
Attached file fail log.txt
Flags: needinfo?(wchang)
Evelyn can you check the logs and see if you see any error from there? Given the nature of the test and STR here, we wont block on this or spend too much effort on it for now, but if the available logs give enough hint to resolve this, let's do it.
Flags: needinfo?(wchang) → needinfo?(ehung)
lecky, we can't see anything from you error log. It seems 'OnCallHandler.addRecentEntry(entry)' doesn't be executed, but the log didn't show JS errors. There is a known issue bug 922238 that also relate to missing call log, can you check if this is the problem you are describing (The issue has been fixed on v1.2). If not, can you provide a simple Repro Steps that we can try? The original one is too complicated and I guess some of them are redundant.
Flags: needinfo?(ehung)
hi, We have found another UE with the same phenomenon another time. 【Repro Steps*】:use the UE normally ,such as make a call ,receive a call or miss a call.(in the test , the number of the call_logs is about 30~40) 【test Result*】:After end a call,it could not be added to the call log. But when I delete 5 or 6 calllogs,the UE could be added the call log(the number of the call_logs can be more than 100). It seems this one is different with the first one.Could you give me a direction about what can make this happen? Thank you!
Flags: needinfo?(ehung)
You can dump some logs in 'handleRecentAddRequest' of dialer.js to see if |CallLogDBManager.add| is really invoked.
Flags: needinfo?(ehung)
Dear, Now we have found a method to reproduce this problem. 【Repro Steps*】: 1.download a call_log data which contain 100 call_logs from this: https://wiki.mozilla.org/B2G/QA/Tips_And_Tricks 2.put it into the UE and the UE can show 100 call_logs . 3.when i switch to the missed interface , it will show a lot of dates which do not contain any call_logs, as the attachment "missed shotcut" 4.right now I make a call to the UE from the auxiliary machine. When the call is shown in the UE ,hang up the call from the auxiliary machine side. 5.check the call_log interface of the UE. 【Expect Result*】:The ended call will be added to the call log. 【Real Result*】:the ended call will not be added to the call log. 【Test Count*】:10 【Found Count*】:10 【Gaia commit ID*】:c0ea0a4943dc8d3751b07f5b5c5d3abe06364a14 【Gecko commit ID*】: 170f9e477571127cd40997fa2abe262ed43f0e4d 【Log*】: 【Network environment】: 【Resume operation】: 【Carrier】:
Dear, I have two question about this : 1.After I put the call_log data into the UE ,why will it show a lot of dates which do not contain any call_logs, as the attachment "missed shotcut"? 2.In the normal condition ,what may make this kind call_log data ? Thanks!
Flags: needinfo?(wchang)
Attached file dialerDb-100.sqlite
Attached image missed .png
Flags: needinfo?(wchang)
This bug is out of date and we suspect that it's no longer valid. If you think this is in error, please reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: