Closed
Bug 1050097
Opened 10 years ago
Closed 10 years ago
[Camera] Add error handling while |videoStorage.addNamed| occurs error.
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(blocking-b2g:-, b2g-v1.4 wontfix, b2g-v2.0 wontfix, b2g-v2.1 fixed)
People
(Reporter: GaryChen, Assigned: GaryChen)
References
Details
Attachments
(1 file)
There is no error handling/message while |videoStorage.addNamed| occurs error. This issue is a follow up from bug 147228.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gchen
Assignee | ||
Comment 1•10 years ago
|
||
Hi Diego, This is my patch for fixing this issue. Since |videoStorage.addNamed| occurs error, then all UI will be stuck. So I emit 'storage:createVideoError' and use |onRecordingError| to 'prompt dialog' let user know current status. I'm not sure this is a best way for fixing this issue, please help to review this patch and give me some feedback. Thanks.
Attachment #8469070 -
Flags: review?(dmarcos)
Comment 2•10 years ago
|
||
[Blocking Requested - why for this release]: since this blocks bug 1047228 which is 1.4+. should we also include this is v1.4?
blocking-b2g: --- → 1.4?
Comment 3•10 years ago
|
||
Comment on attachment 8469070 [details] [review] pull request: https://github.com/mozilla-b2g/gaia/pull/22612 Thanks for the patch. I left my comments on github. r- because: It's be better to pass the error on the function callback instead of triggering an event
Attachment #8469070 -
Flags: review?(dmarcos) → review-
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8469070 [details] [review] pull request: https://github.com/mozilla-b2g/gaia/pull/22612 Hi Diego, I've addressed your comment and fixed unit tests, please help to review my patch again. Thanks.
Attachment #8469070 -
Flags: review- → review?(dmarcos)
Comment 5•10 years ago
|
||
Comment on attachment 8469070 [details] [review] pull request: https://github.com/mozilla-b2g/gaia/pull/22612 This starts to look really sweet! We're close. I made more suggestions on github. Mostly to keep consistency with the rest of the code base.
Attachment #8469070 -
Flags: review?(dmarcos) → review-
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8469070 [details] [review] pull request: https://github.com/mozilla-b2g/gaia/pull/22612 Hi Diego, Please help to review this patch again, thanks.
Attachment #8469070 -
Flags: review- → review?(dmarcos)
Comment 7•10 years ago
|
||
Comment on attachment 8469070 [details] [review] pull request: https://github.com/mozilla-b2g/gaia/pull/22612 Yeah! It looks great. This needs to be uplifted right?
Attachment #8469070 -
Flags: review?(dmarcos) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Hmmmmm... Need to get v1.4+ and approval then we can uplift. Thanks for your review again.
Updated•10 years ago
|
blocking-b2g: 1.4? → 1.4+
Assignee | ||
Comment 9•10 years ago
|
||
merged in gaia master: https://github.com/mozilla-b2g/gaia/commit/9ce01d8fa33acf4fad5a6a43cfeca1a8d715de7b.
Status: NEW → RESOLVED
blocking-b2g: 1.4+ → 1.4?
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•10 years ago
|
||
landed in v1.4 https://github.com/mozilla-b2g/gaia/commit/ec395d47cee9234ae93d2410d8ef8724dfc5d6cb Hi Wayne, Sorry, I made a mistake with changed v1.4+ to v1.4?, please help me to change it to right way. Thanks.
status-b2g-v1.4:
--- → fixed
Flags: needinfo?(wchang)
Comment 12•10 years ago
|
||
Is this needed for v2.0 as well? If so, please nominate the patch for gaia v2.0 uplift.
status-b2g-v2.0:
--- → ?
status-b2g-v2.1:
--- → fixed
Flags: needinfo?(gchen)
Target Milestone: --- → 2.1 S2 (15aug)
Assignee | ||
Comment 13•10 years ago
|
||
Hi Pike, I've added v1.4 patch with new string, maybe we need l10n team support. Could you help to take a look? Please refer to comment 10. Thanks
Flags: needinfo?(l10n)
Assignee | ||
Comment 14•10 years ago
|
||
landed in v2.0 https://github.com/mozilla-b2g/gaia/commit/e230621063cd37b328a1c6b0c13b1e43e28c8d54
Flags: needinfo?(gchen)
Comment 15•10 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #12) > Is this needed for v2.0 as well? If so, please nominate the patch for gaia > v2.0 uplift. And then you commit on 2.0... Please back it out. You can't land string changes on branches that are string frozen (anything besides master).
Flags: needinfo?(l10n) → needinfo?(gchen)
Assignee | ||
Comment 16•10 years ago
|
||
back my patch out on v2.0. https://github.com/mozilla-b2g/gaia/commit/cade2fdbb2230670788dcf2fc7b100f4a37b6458#diff-d41d8cd98f00b204e9800998ecf8427e
Flags: needinfo?(gchen)
Comment 17•10 years ago
|
||
Thanks. I'm honestly confused by this bug: am I reading it wrong or this bug got approvals for 1.4 without any release-driver being involved? Is this supposed to happen?
Comment 18•10 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #17) > Thanks. I'm honestly confused by this bug: am I reading it wrong or this bug > got approvals for 1.4 without any release-driver being involved? Is this > supposed to happen? Wayne is one of the 1.4 drivers. That said, I'm backing this out from v1.4 as well until the string situation is sorted out. We're way past string freeze. v1.4: https://github.com/mozilla-b2g/gaia/commit/296f95231db42d25d9b92867489d5ba954c663e0 And like flod said, this *must* have v2.0 approval before landing there. 1.4 blocking status does not grant auto-approval as of a few weeks ago. It was announced on dev-gaia when the change was made and the B2G Landing Page also says the same. https://wiki.mozilla.org/Release_Management/B2G_Landing
Comment 19•10 years ago
|
||
Apologies for missing the string changes implied by this bug. I'll talk to Gary and clarify the string situation and update here.
Comment 20•10 years ago
|
||
Wayne, please adhere to string freeze here. For 2.0 I don't think flame is impacted by 1047228, so this bug would be a wontfix as the primary reason for blocking this on 1.4 was 1047228
Comment 21•10 years ago
|
||
After discussing with Gary and others, this bug is a fail safe for cases where 1047228 do not cover. Ideally bug 1047228 should resolve situations where this bug would occur. Removing 1.4+ here, the two bugs are not dependent on each other. Leaving bug 1047228 as POVB for partner to pick up.
blocking-b2g: 1.4+ → -
Flags: needinfo?(wchang)
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•