Closed Bug 982071 Opened 10 years ago Closed 10 years ago

Unusable Camera app when triggered from pick activity for file upload

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(blocking-b2g:1.4+, b2g-v1.4 verified, b2g-v2.0 verified)

VERIFIED FIXED
1.4 S5 (11apr)
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- verified
b2g-v2.0 --- verified

People

(Reporter: gerard-majax, Assigned: wilsonpage)

References

Details

(Keywords: regression, Whiteboard: [landed-on-master])

Attachments

(3 files)

Attached image 2MHHbRc.png
See the attached screenshot: Camera app does not start properly.

STR:
 0. Open browser
 1. Go to http://m.imgur.com/upload
 2. Tap "Device", then select Photo in the activity chooser

Expected:
 Camera app starts correctly

Actual:
 Confere screenshot. Camera app not usable.

This is reproducing on both Camera app from the current master and from camera-new-features branch.
blocking-b2g: --- → 1.4?
logcat shows:
E/GeckoConsole( 1275): [JavaScript Error: "TypeError: setting is undefined" {file: "app://camera.gaiamobile.org/js/main.js" line: 4292}]
QA Contact: mvaughan
Blocking just by going with broken functionality criteria
Assignee: nobody → jdarcangelo
blocking-b2g: 1.4? → 1.4+
The following regression window was found using b2g-inbound builds:

- Last Working -
Device: Buri ENG v1.4 MOZ RIL
BuildID: 20140225203818
Gaia: 6003c319780f49871dbe91ce5af32f5fc8ec06d9
Gecko: 4fe213a22c59
Version: 30.0a1
Firmware Version: V1.2-device.cfg

- First Broken -
Device: Buri ENG v1.4 MOZ RIL
BuildID: 20140225213719
Gaia: d62991e8b97d382f39b44856ea996fb1bb90a459
Gecko: 02217076e7d5
Version: 30.0a1
Firmware Version: V1.2-device.cfg

**This looks to be a gaia issue**
Push Log: https://github.com/mozilla-b2g/gaia/compare/6003c319780f49871dbe91ce5af32f5fc8ec06d9...d62991e8b97d382f39b44856ea996fb1bb90a459
This is a regression from bug 975192.
Blocks: 975192
Severity: normal → blocker
Setting NEEDINFO for Wilson:

Wilson, the error is happening on the following line:

https://github.com/mozilla-b2g/gaia/blob/camera-new-features/apps/camera/js/lib/setting-alias.js#L56

E/GeckoConsole(  914): [JavaScript Error: "TypeError: setting is undefined" {file: "app://camera.gaiamobile.org/js/main.js" line: 4703}]

This seems to be an issue with the SettingAlias model and I have some questions as to the flow of execution with it. Ping me when you're online so I can discuss with you. Thanks!
Flags: needinfo?(wilsonpage)
Wilson is out on 3/19 and 3/21. Wilson, please take a look when you are back tomorrow.

Thanks
Hema
Attachment #8394305 - Flags: review?(jdarcangelo)
Flags: needinfo?(wilsonpage)
Attachment #8394305 - Flags: review?(jdarcangelo) → review+
QA Whiteboard: [branch-camera-new-features fixed]
Assignee: jdarcangelo → wilsonpage
QA Whiteboard: [branch-camera-new-features fixed]
Whiteboard: [branch-camera-new-features reviewed-ready-to-land]
Landed on camera-new-features:

https://github.com/mozilla-b2g/gaia/commit/d8fd55a7f1ef63ff24e3374abb11ea06849be07d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [branch-camera-new-features reviewed-ready-to-land] → [branch-camera-new-features fixed]
This needs to land on the main Gaia branch before this gets marked fixed. Otherwise, someone will just open a new bug for this.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file pull-request (master)
Diego: We already landed this on camera-new-features, we need to also land on master.
Attachment #8395133 - Flags: review?(dmarcos)
Yes. This will land on master once we merge camera-new-features. Partner requirement
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
(In reply to Diego Marcos [:dmarcos] from comment #11)
> Yes. This will land on master once we merge camera-new-features. Partner
> requirement

Please see https://bugzilla.mozilla.org/show_bug.cgi?id=984730#c19.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #8395133 - Flags: review?(dmarcos) → review+
Attachment #8395133 - Flags: review+ → review-
Justin. This is 1.4 blocker. Your PR should go on top of v1.4 branch instead of master
Can we merge this with the rest of camera-new-features branch?
Sorry, I can re-submit the PR, but let's wait to see what the plan is for landing camera-new-features today first.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Whiteboard: [branch-camera-new-features fixed] → [landed-on-master]
Bulk edit for camera bugs.

If earlier comments do not show how this bug landed to master, it probably landed as part of https://github.com/mozilla-b2g/gaia/pull/17599 which merged the camera-new-features branch into master.

This bug was uplifted from master to v1.4 as part of https://github.com/mozilla-b2g/gaia/commit/a8190d08e61316a86bba572ba8d894d081a20530
Target Milestone: --- → 1.4 S5 (11apr)
The bug is no longer reproduces on 1.4 and master build
Camera app starts and taking pictures correctly

1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140410000201
Gaia: 9b2da43dfee3792cd311ae55f0b06272313208f0
Gecko: 9d9ead7d6afa
Version: 30.0a2
Firmware Version: v1.2-device.cfg

1.5 Environmental Variables:
Device: Buri 1.5 MOZ
BuildID: 20140410040201
Gaia: 9d0b1bdf746823a94b13e6574c1d8304dc584763
Gecko: 690c810c8e3e
Version: 31.0a1
Firmware Version: v1.2-device.cfg
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: