[B2G][Email] Email "Body" search filter is broken, always shows empty for plain text emails



Firefox OS
4 years ago
4 years ago


(Reporter: Jeni, Unassigned)


Gonk (Firefox OS)

Firefox Tracking Flags

(firefox27 affected, b2g18 affected)


(Whiteboard: burirun1)


(2 attachments)



4 years ago
Created attachment 807956 [details]
log of issue.txt

When user does a search on email the body search field stays empty for plain text emails

Prereq: Have an email setup on device.  Have at least 5 emails in email account

Repro Steps:
1) Updated Buri to Build ID: 20130916040205
2) Tap on Email
3) Tap on Search button
4) Tap on Body tab
5) Search for text in body of email
6) View what is listed

Actual: Nothing is displayed in 'Body' tab in email search

Expected: 'Body' tap shows emails with correct search

Environmental Variables
Build ID: 20130916040205
Gecko: http://hg.mozilla.org/mozilla-central/rev/c4bcef90cef9
Gaia: a0079597d510ce8ea0b9cbb02c506030510b9eeb
Platform Version: 26.0a1

Notes: Issue repros on leo 1.1 also 
Repro frequency: 85%
Test Suite Name: Email
UCID: 8594
Link to failed test case: https://moztrap.mozilla.org/manage/case/8594/
View log-cat of issue


4 years ago
status-b2g18: --- → affected
status-firefox27: --- → affected
Are you sure the messages are:
1) text/plain.
2) downloaded to the device?  We don't search snippets currently; I believe we have a separate bug on that.  So you need to have displayed the message in the reader to have caused the entire message to be downloaded and eligible for searching.

For the text/plain bit, please provide an example message the fails to get searched after full display in the message reader via the instructions at https://wiki.mozilla.org/Gaia/Email/ProvidingEmailsForDebugging

Comment 2

4 years ago
Created attachment 810778 [details]
source of email.txt

Added the information about the email.  Also the terms I used to search was 'test'.

Comment 3

4 years ago
This issue no longer repros on 

Build ID: 20130926004001
Gecko: http://hg.mozilla.org/releases/mozilla-aurora/rev/caa6b17647c5
Gaia: 1e9470b9b6df630eddf1c4c8b25b3170ee786b0e
Platform Version: 26.0a2

The 'Body' tab now shows emails with correct search.
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.