[B2G] [Leo] [Email] New email made with the Boilerplate app only have the To field filled

VERIFIED INVALID

Status

VERIFIED INVALID
5 years ago
5 years ago

People

(Reporter: ckreinbring, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: leorun4, retest_leorun4)

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
Created attachment 771007 [details]
Log of starting email via boilerplate app

Description:
Selecting the Compose mail button on the Boilerplate app will create a new email in the Email app with only the To field populated.

Repro Steps:
1) Updated to Leo Build ID: 20130625070217
2) Launch the browser and log in with a valid account.
4) Launch the browser and navigate to http://robnyman.github.com/Firefox-OS-Boilerplate-App/
4) Tap the Compose mail button.
5) Observe the appearance of the new email once the Email app regains focus.

Actual:
Only the To field is populated.

Expected:
The To, CC, Subject and body fields are populated.

Environmental Variables
Occurs on Leo 1.1 commercial RIL
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/29933d1937db
Gaia: 1436e2778b90bd74635b0b94d1cf8ccb0d71b60c
Platform Version: 18.1
RIL Version: 01.01.00.019.138 

Notes:
Repro frequency: 100%
Test Suite Name: Email
UCID: Bug 831843
Link to failed test case: https://moztrap.mozilla.org/manage/cases/?filter-id=6568
Q Analysts Team Priority: Pri 3
See attached screenshot and logcat
(Reporter)

Comment 1

5 years ago
Created attachment 771011 [details]
Screenshot of created email
(Reporter)

Comment 2

5 years ago
Still repros on Leo 1.1 commercial RIL.

Build ID: 20130715070218
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6062fdf2deb8
Gaia: 55ed5e08a2250ea2d3571fff860c39e66fabed14
Platform Version: 18.1
RIL Version: 01.01.00.019.158
Whiteboard: leorun4 → leorun4, retest_leorun4
The moztrap case does not match up with what the boilerplate app is trying to do; the webpage is only trying to populate the 'to' field.

This is the code from that webpage in webapp.js:

    var composeEmail = document.querySelector("#compose-email");
    if (composeEmail) { 
        composeEmail.onclick = function () {
            var createEmail = new MozActivity({
                name: "new", // Possibly compose-mail in future versions
                data: {
                    type : "mail",
                    url: "mailto:example@example.org"
                }
            });
        }
    }

The moztrap case should be updated or eliminated.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID

Comment 4

5 years ago
Moving this case to "verified" so I can clean up my queries.  Chris Kreinbring, can you please add the referring moztrap case ID here.  Bonus if you go into moztrap and deactivate the case :)
Status: RESOLVED → VERIFIED
Flags: needinfo?(ckreinbring)

Comment 5

5 years ago
Test case 6568 has been deactivated.
Flags: needinfo?(ckreinbring)
You need to log in before you can comment on or make changes to this bug.