Closed Bug 1225456 Opened 9 years ago Closed 9 years ago

Unrecognized page message displayed after tapping on signed in account

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox43 wontfix, firefox44 verified, firefox45 verified, b2g-v2.5 fixed, fennec44+)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox43 --- wontfix
firefox44 --- verified
firefox45 --- verified
b2g-v2.5 --- fixed
fennec 44+ ---

People

(Reporter: u549602, Assigned: nalexander)

References

Details

Attachments

(1 file)

Environment: Beta 
Device : All
Build: Beta 43.0b4 (11-17-2015)

Steps to reproduce:
1. Sign in with a valid account
2. Go to Menu-Settings-Sync
3. Tap on signed in account

Expected result: 
about:accounts page is opened and account management menu displayed 

Actual result: 
The address is not recognized

Please note that this issue occurs also on the Beta 43.0b2 build

For further details please check: https://www.youtube.com/watch?v=k6YjnMIefd8&feature=youtu.be
Flags: needinfo?(nalexander)
This is odd, I'm surprised this is on Beta 43.  Fallout from Bug 1205418?  Vivek, putting this on your radar in case you can investigate before I can.

I imagine that we've not correctly guarded the link to about:accounts (it should only link if MOZ_NATIVE_ACCOUNT_UI is false).  Or I may have gotten the train schedule confused.

Leaving NI for me to investigate further.
Depends on: 1205719, 1205418
Flags: needinfo?(vivekb.balakrishnan)
@Nick,
We declare the intent in fxaccount_status_prefscreen.xml [1] and programmatically define intent uri at [2]. As we do not return true around [3] it falls through and intent is fired for the open the url.

[1] & [2] was fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=1178378 and uplift to only aurora was requested.


[1] https://mxr.mozilla.org/mozilla-beta/source/mobile/android/base/resources/xml/fxaccount_status_prefscreen.xml#14
[2] http://mxr.mozilla.org/mozilla-beta/source/mobile/android/base/fxa/activities/FxAccountStatusFragment.java#492
[3] http://mxr.mozilla.org/mozilla-beta/source/mobile/android/base/fxa/activities/FxAccountStatusFragment.java#250
Flags: needinfo?(vivekb.balakrishnan)
Bug 1225456 - Don't launch about:accounts when MOZ_ANDROID_NATIVE_ACCOUNT_UI=1. r?vivek

I haven't been able to test this, since the patch is relevant to Nightly
but the behaviour doesn't happen.
Attachment #8693083 - Flags: review?(vivekb.balakrishnan)
Comment on attachment 8693083 [details]
MozReview Request: Bug 1225456 - Don't launch about:accounts when MOZ_ANDROID_NATIVE_ACCOUNT_UI=1. r?vivek

https://reviewboard.mozilla.org/r/26391/#review23899

LGTM.
Attachment #8693083 - Flags: review?(vivekb.balakrishnan) → review+
https://hg.mozilla.org/integration/fx-team/rev/43ae4742c4c0ea0eefdb99ecc9b7c8a88715b03d
Bug 1225456 - Don't launch about:accounts when MOZ_ANDROID_NATIVE_ACCOUNT_UI=1. r=vivek
Comment on attachment 8693083 [details]
MozReview Request: Bug 1225456 - Don't launch about:accounts when MOZ_ANDROID_NATIVE_ACCOUNT_UI=1. r?vivek

Approval Request Comment
[Feature/regressing bug #]: 

Adding "manage account" link to the status activity: https://bugzilla.mozilla.org/show_bug.cgi?id=1205418

[User impact if declined]: tapping the account name takes the user to a failing page with an error message.

[Describe test coverage new/current, TreeHerder]: very little.  I tested a frankenbuild with the fix, but it's hard to produce a beta build with the right configuration.

[Risks and why]: very low.

[String/UUID change made/needed]: none.
Flags: needinfo?(nalexander)
Attachment #8693083 - Flags: approval-mozilla-beta?
Attachment #8693083 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/43ae4742c4c0
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Comment on attachment 8693083 [details]
MozReview Request: Bug 1225456 - Don't launch about:accounts when MOZ_ANDROID_NATIVE_ACCOUNT_UI=1. r?vivek

Fix for a signin problem on android, please uplift to aurora and beta. 
It would be good to verify this on both channels next week; this should be on the RC build which is aimed to release on Tuesday.
Attachment #8693083 - Flags: approval-mozilla-beta?
Attachment #8693083 - Flags: approval-mozilla-beta+
Attachment #8693083 - Flags: approval-mozilla-aurora?
Attachment #8693083 - Flags: approval-mozilla-aurora+
This issue is still reproducing on Firefox 43 Beta 10; so it might very well reproduce on the RC build.
Any ideas?
Flags: needinfo?(nalexander)
This issue is reproducing in Firefox 43 Release candidate. 
Should we fix this or wait for the 44 build?
Flags: needinfo?(margaret.leibovic)
Flags: needinfo?(lhenry)
(In reply to Mihai Pop from comment #13)
> This issue is reproducing in Firefox 43 Release candidate. 
> Should we fix this or wait for the 44 build?

Not worth burning too much on this.  It's addressed in Nightly; let's ship this bug to reduce risk and churn, and pick it up for Beta 44.
Flags: needinfo?(nalexander)
Flags: needinfo?(margaret.leibovic)
(In reply to Carsten Book [:Tomcat] from comment #10)
> https://hg.mozilla.org/releases/mozilla-release/rev/856daabe1d47

Ah, this patch did not get applied properly :(  The source files moved around, so what should have been a one line patch now creates a file in the middle of nowhere.  That explains at least why the fix did not succeed.  Mihai, thanks for your report -- I was busy with Mozlando so I didn't dig into the cause until now :(

I think we should try to address this for 44.  I can create a backout and branch patch if needed.  Liz, is that sensible?
Liz was going to cut another 43.0 RC for Bug 1230206, so if you really need this correctly applied in 43, I imagine it's possible.
(In reply to Richard Newman [:rnewman] from comment #17)
> Liz was going to cut another 43.0 RC for Bug 1230206, so if you really need
> this correctly applied in 43, I imagine it's possible.

Sadly, this train has ridden.  I'll make sure we're correct on beta and aurora now.
tracking-fennec: --- → 44+
Verified as fixed on Firefox 44 Beta 1
(In reply to Mihai Pop from comment #19)
> Verified as fixed on Firefox 44 Beta 1

Thanks Mihai!  Really appreciate all your work on this ticket.
Flags: needinfo?(lhenry)
Assignee: nobody → nalexander
Verified as fixed on Firefox 45 Beta 1
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: