Closed
Bug 875310
Opened 12 years ago
Closed 11 years ago
storage _getList will trigger undefined and not properly call callback
Categories
(Firefox OS Graveyard :: Gaia::Dialer, defect)
Firefox OS Graveyard
Gaia::Dialer
Tracking
(blocking-b2g:-, b2g18+ affected)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: oscar.amat.caro, Assigned: oscar.amat.caro)
Details
Attachments
(1 file)
355 bytes,
text/plain
|
ferjm
:
review+
lsblakk
:
approval-gaia-v1+
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31
Steps to reproduce:
Checking the project's usage of IndexedDB I stumbled with this pretty straightforward error.
Actual results:
In call_log_db.js, there is a _getList method that contains:
cursor.onerror = function(event) {
if (callback && callback instanceof Function) {
callback(e.target.error.name);
}
};
It triggers undefined exception whenever an error happens.
Expected results:
cursor.onerror = function(event) {
if (callback && callback instanceof Function) {
callback(event.target.error.name);
}
};
Assignee | ||
Comment 1•12 years ago
|
||
Link to PR in github: https://github.com/mozilla-b2g/gaia/pull/9963
Assignee | ||
Updated•12 years ago
|
Attachment #753277 -
Flags: review?(ferjmoreno)
Comment 2•12 years ago
|
||
Thanks Oscar! Nice catch.
This patch needs to be uplifted to v1-train as a follow-up of bug 870359 and bug 847404
Assignee: nobody → oscar.amat.caro
blocking-b2g: --- → leo?
Updated•12 years ago
|
Attachment #753277 -
Flags: review?(ferjmoreno) → review+
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Please nominate for uplift with a risk evaluation.
Comment 5•12 years ago
|
||
Comment on attachment 753277 [details]
PR link in github
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 847404
User impact if declined: None, but logcat exception message.
Testing completed: Unit tests and functionality tests.
Risk to taking this patch (and alternatives if risky): None.
String or UUID changes made by this patch: None.
Attachment #753277 -
Flags: approval-gaia-v1?
Updated•12 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•12 years ago
|
Attachment #753277 -
Flags: approval-gaia-v1? → approval-gaia-v1+
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•