Closed
Bug 832140
Opened 12 years ago
Closed 7 years ago
B2G SMS & MMS DB: check event.target.errorCode, return and handle appropriate error codes in callbacks
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(blocking-b2g:-)
RESOLVED
WONTFIX
blocking-b2g | - |
People
(Reporter: vicamo, Unassigned)
References
Details
Attachments
(2 obsolete files)
No description provided.
Updated•12 years ago
|
Blocks: 823010
Summary: B2G SMS: check event.target.errorCode and use appropriate error code in sms database → B2G SMS DB: check event.target.errorCode, send and handle appropriate error codes to callbacks in RadioInterfaceLayer
Comment 1•12 years ago
|
||
Are you going to do the work here, philikon?
Assignee: nobody → philipp
blocking-b2g: --- → tef?
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #1)
> blocking-b2g: --- → tef?
Why does this issue deserve a tef?? This task affects almost nothing but more accurate error handling of sms db. Any other reasons?
Comment 3•12 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #2)
> (In reply to Andrew Overholt [:overholt] from comment #1)
> > blocking-b2g: --- → tef?
>
> Why does this issue deserve a tef?? This task affects almost nothing but
> more accurate error handling of sms db. Any other reasons?
This is marked as blocking bug 823010 which in turns blocks bug 808607. If this doesn't actually block bug 823010 I'm more than happy to remove the tef? :)
Reporter | ||
Updated•12 years ago
|
Comment 4•12 years ago
|
||
Since the DB is shared for SMS and MMS now, the MMS DB callbacks would have the same issue. Please refer to nsIRilMobileMessageDatabaseCallback.
Blocks: b2g-mms
Summary: B2G SMS DB: check event.target.errorCode, send and handle appropriate error codes to callbacks in RadioInterfaceLayer → B2G SMS & MMS DB: check event.target.errorCode, return and handle appropriate error codes in callbacks
Reporter | ||
Updated•11 years ago
|
Component: DOM: Device Interfaces → RIL
Product: Core → Firefox OS
Comment 5•11 years ago
|
||
Hi all,
I think that not only the checking event.target.errorCode but also the notifying user has to consider it about this bug.
Because the user cannot notice the reception of the message by the present implementation.
(And error continues being repaid to a server.)
In addition, I think that I have to notify a user without transmitting a message when preservation to DB failed.
Thanks.
Comment 7•11 years ago
|
||
Bevis, after discussing with partners, this is a 1.4+ bug. Please help to fix it.
Assignee: nobody → btseng
Updated•11 years ago
|
Blocks: sms-low-storage
Comment 10•11 years ago
|
||
This is a 1.4+ bug.
Comment 12•11 years ago
|
||
After confirmed with Szu-Yu, I'd like to take back from Szu-Yu to follow up.
Assignee: szchen → btseng
Comment 13•11 years ago
|
||
For checking the error condition of full storage,
the alternative way is to provide a storage monitor to observe "disk-space-watcher" notification.
Then, always consult the storage monitor before storing sms/mms.
This will be consistent to what user aware from the notification tray and will be helpful to support RIL_REQUEST_REPORT_SMS_MEMORY_STATUS mentioned in bug#739143 in the future.
I'd prefer to apply the alternative one to support the feature in bug#891344 instead.
Comment 14•11 years ago
|
||
Attachment #8378808 -
Flags: review?(vyang)
Comment 15•11 years ago
|
||
Pre-condition:
1. According to bug#861903 and bug#853350, we know that when device storage is low, indexedDB only allows us for read access.
2. While testing, I found that event.target.errorCode is undefined when we access the indexedDB in storage full condition. No proper error code is available to identify the problem.
Summary of the patch:
1. The main purpose is to add error handling of sending/receiving message while device storage is full.
2. Hence, instead of checking event.target.errorCode, the solution is to apply DiskSpaceWatcher.isDiskFull before any |Write| access to the MobileMessageDatabase and notify STORAGE_FULL_ERROR to the caller.
Reporter | ||
Comment 16•11 years ago
|
||
Comment on attachment 8378808 [details] [diff] [review]
Patch Part 1: Add new error type STORAGE_FULL_ERROR. r=vyang
Review of attachment 8378808 [details] [diff] [review]:
-----------------------------------------------------------------
This bug is not for storage full event. Please move to either bug 891344 or bug 739143.
Attachment #8378808 -
Flags: review?(vyang) → review-
Comment 17•11 years ago
|
||
Per discussion offline,
1. bug 891344 is dedicated for Gaia to fix the problem of
sending/receiving message while message is full.
2. bug 739143 is more about adopting UNSOLICITED_SIM_SMS_STORAGE_FULL &
RIL_REQUEST_REPORT_SMS_MEMORY_STATUS for modem.
I'll fire another bug to provide the fix in gecko side for the problem of bug 891344.
Updated•11 years ago
|
No longer blocks: sms-low-storage
Comment 18•11 years ago
|
||
No longer a 1.4+ blocking bug.
Check Bug 974820 instead.
No longer blocks: b2g-ril-interface, b2g-LTE-1.4
blocking-b2g: 1.4+ → ---
Updated•11 years ago
|
Attachment #8378808 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #8378811 -
Attachment is obsolete: true
Updated•11 years ago
|
Assignee: btseng → nobody
Updated•10 years ago
|
blocking-b2g: backlog → -
Comment 20•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•