Closed Bug 1022036 Opened 10 years ago Closed 10 years ago

[B2G][Email] Unable to view/open an image in the Email app while using a Pop3 account.

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3 unaffected, b2g-v1.4 affected, b2g-v2.0 affected, b2g-v2.1 affected)

RESOLVED WORKSFORME
Tracking Status
b2g-v1.3 --- unaffected
b2g-v1.4 --- affected
b2g-v2.0 --- affected
b2g-v2.1 --- affected

People

(Reporter: mlivingston, Unassigned)

References

()

Details

(Whiteboard: [2.0-flame-test-run-1])

Attachments

(1 file)

Attached file logcatBuri20.txt
Description:
When an email is received containing a message to the user's pop3 account he/she is using, the user is unable to open the file when the "view" button is tapped and an error message appears saying "Image is invalid or corrupt and cannot be displayed."

Pre-Requisites: Have a Pop3 email set up on the device (aol, yahoo, etc.)

Repro Steps:
1) Update a Flame to 20140606040202
2) From the homescreen, tap on the "Email" icon.
3) Tap the "compose" icon in the top right corner.
4) Send yourself an email with an attached image.
5) Open the email you sent yourself.
6) Tap on "View" next to the attachment. 
7) Observe the error message.

Actual:
Error message saying "Image is invalid or corrupt and cannot be displayed."

Expected:
Image opens and can view it successfully.

Environmental Variables:
Device: Flame 2.0
Build ID: 20140606040202
Gaia: 857129928b6e56a809cee9d5445effb8fa9f1c2c
Gecko: c8288d0c7a15
Version: 32.0a1 (2.0) 
Firmware Version: v10G-2
User Agent: Mozilla 5.0 Gecko 32.0 Firefox 32.0

Repro frequency: 100%
Link to failed test case: https://moztrap.mozilla.org/manage/case/11145/
See attached: Logcat, Video
Flame Logcat issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1010993
Error message appears on Flame 2.0 and Buri 2.0. Error message does not appear in Buri 1.4, but still unable to view/open file.

2.0 Environmental Variables:
Device: Buri 2.0
Build ID: 20140530040207
Gaia: 26d8fcab9b61f46451600f39c51e0387ef3c4f88
Gecko: e6f113c83095
Version: 32.0a1 (2.0) MOZ
Firmware Version: v1.2device.cfg
User Agent: Mozilla 5.0 Gecko 32.0 Firefox 32.0

-----------------------------------------------

1.4 Environmental Variables:
Device: Buri 1.4
Build ID: 20140606000204
Gaia: 183efb374be1bcbf92f1fb3d0212a68b564a6d3e
Gecko: 960c48b5a5fa
Version: 30.0 (1.4) MOZ
Firmware Version: v1.2device.cfg
User Agent: Mozilla 5.0 Gecko 30.0 Firefox 30.0

Adding qawanted to check Open C, Flame 1,4 & Flame base builds
The best way to determine whether the email app is behaving correctly or whether it's a problem with the gallery app is to compare the file downloaded by the email app with the original source image.  This can be accomplished by doing a binary file comparison (ex: "diff file1 file2"; no output means they are the same; a statement that they differ means they differ).  Or a script that computes a hash of the file (ex: "md5sum" or "sha1sum") can be run and the output of both files compared.  The file sizes should also be mentioned.  If the contents differ, please attach both the source image and the downloaded image.

From the log we can see that the file was saved to /sdcard/fish.jpg which suggests the file did not originate from the phone's own camera.  This is also supported by the following logcat error message:
06-06 17:28:42.609: E/GeckoConsole(653): Content JS ERROR at app://gallery.gaiamobile.org/gaia_build_defer_open.js:51 in displayImage: The thumbnail contained in the jpeg doesn't fitthe device screen. The full size image is rendered.This might cause out of memory errors
Flags: needinfo?(mlivingston)
Also, if it turns out the email app is fault, we will absolutely need to know the exact domain in use (aol.com, yahoo.com, etc.) and ideally also have a copy of the raw message in the event the problem relates to the composer of the email if it was not the same version of the Gaia Email app.  See https://wiki.mozilla.org/Gaia/Email/ProvidingEmailsForDebugging for info on that.
QA Contact: ckreinbring
Unable to repro on Flame 1.4, Open C 1.4 or Flame 1.3 base.  The pictures loaded without errors using both yahoo.com and aol.com.

Flame 1.4
Build ID: 20140609000201
Gecko: https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/e3f85877db29
Gaia: 8b239e41bbd85aa7b6a2c5d388e775ba7de6fb2b
Platform Version: 30.0
Firmware Version: V10G-2
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0

Open C 1.4
Build ID: 20140610000204
Gecko: https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/54a7aa1a0423
Gaia: 57c6a24f7c7d16aac132f3cecd3ff9ee8d53cf78
Platform Version: 30.0
Firmware Version: P821A10v1.0.0806_LOG_DL
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0

Flame 1.3 base
Build ID: 20140520094859
Gecko: b637b0677e15318dcce703f0358b397e09b018af/rev/
Gaia: a73235d23685e9898f40647cebd83b3fcbfd0117
Platform Version: 28.0
Firmware Version: v10G-2
User Agent: Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0
Keywords: qawanted
mlivingston no longer works for us - so I'm flagging qawanted to address asuth's request.
Flags: needinfo?(mlivingston)
Keywords: qawanted
Unable to repro on today's Flame 2.0.  On all attempts on both an aol.com and yahoo.com email account, tapping the attachment loads the picture with no errors.

Build ID: 20140801000201
Gaia: 1d1a47a1135d8ce44db9b88db4d2ea6f454cf0a8
Gecko: e57d9f525233
Platform Version: 32.0
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
A lot of changes since June - issue no longer repros; closing as WFM
Status: NEW → RESOLVED
Closed: 10 years ago
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
Resolution: --- → WORKSFORME
Consistently seeing this issue on Flame 2.1(319mb)

Actual behavior: Unable to view inline or attached .png or .jpg files. Opening attached files results in error message stated in bug description. 

Environmental Variables:
Device: Flame 2.1 (319mb)
Build ID: 20140915000203
Gaia: 944e5b4582c4efa1b67cd33245dbb8f6aa25d09f
Gecko: 7546fedad918
Version: 34.0a2 
Firmware Version: v123
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Status: RESOLVED → REOPENED
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: qawanted
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Flags: needinfo?(ktucker)
Keywords: qawanted
Resolution: --- → WORKSFORME
Whiteboard: [2.0-flame-test-run-1] → [2.0-flame-test-run-1][
Whiteboard: [2.0-flame-test-run-1][ → [2.0-flame-test-run-1]
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: