Closed
Bug 1405404
Opened 8 years ago
Closed 8 years ago
Pocket recommendations do not show in Deutsch multi-locale builds
Categories
(Firefox for Android Graveyard :: Activity Stream, defect, P1)
Tracking
(firefox57 verified, firefox58 verified)
VERIFIED
FIXED
Firefox 58
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
liuche
:
review+
ritu
:
approval-mozilla-beta+
|
Details |
I didn't implement this initially in bug 1404460: "de" is used for multi-locale builds but cannot be selected by Android so I thought it was unnecessary. We should add it to the whitelist.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8914839 [details]
Bug 1405404: Add 'de' to list of pocket whitelisted locales.
https://reviewboard.mozilla.org/r/186110/#review191134
::: mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/ActivityStreamConfiguration.java:26
(Diff revision 2)
> */
> public class ActivityStreamConfiguration {
>
> private static final Set<Locale> pocketEnabledLocales;
> @VisibleForTesting static final String[] pocketEnabledLocaleTags = new String[] {
> // Sorted alphabetically to preserve blame for additions/removals.
I wonder if we should document here that new locales being added should be cross-referenced with both Fennec locale and Android locale.
Attachment #8914839 -
Flags: review?(liuche) → review+
Assignee | ||
Comment 4•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8914839 [details]
Bug 1405404: Add 'de' to list of pocket whitelisted locales.
https://reviewboard.mozilla.org/r/186110/#review191134
> I wonder if we should document here that new locales being added should be cross-referenced with both Fennec locale and Android locale.
I added a note.
Comment hidden (mozreview-request) |
Pushed by michael.l.comella@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0bf07287d614
Add 'de' to list of pocket whitelisted locales. r=liuche
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8914839 [details]
Bug 1405404: Add 'de' to list of pocket whitelisted locales.
This must be uplifted in unison with bug 1404460 (and should land after).
Approval Request Comment
[Feature/Bug causing the regression]: bug 1404460.
[User impact if declined]: Users using the Deutsch language override in Fennec settings will not get Pocket stories.
[Is this code covered by automated tests?]: Lightly (we ensure the locale says that Pocket should be enabled, as expected).
[Has the fix been verified in Nightly?]: No
[Needs manual test from QE? If yes, steps to reproduce]: Ideally, see bug 1404460 comment 11.
[List of other uplifts needed for the feature/fix]: bug 1404460 (before this).
[Is the change risky?]: Trivial.
[Why is the change risky/not risky?]: We add a one locale, "de", to an existing list of whitelisted locales so assuming the current code works, there should be no problems.
[String changes made/needed]: None
Attachment #8914839 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 8•8 years ago
|
||
This was backed out for test failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=0bf07287d61448f027f4f8de2e587a634bb70ec8&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=usercancel&filter-resultStatus=runnable
It seems my test code assumed all locales were specified as "x-y" but I added an "x".
Comment hidden (mozreview-request) |
Comment 10•8 years ago
|
||
Pushed by michael.l.comella@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0db210721aa4
Add 'de' to list of pocket whitelisted locales. r=liuche
Assignee | ||
Comment 11•8 years ago
|
||
Note: I didn't have an opportunity to test this test change because multi-locale builds are breaking gradle builds but I'm confident in the change.
Comment 12•8 years ago
|
||
Backout by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/fc879542e9ae
Backed out changeset 0bf07287d614 for failing android-test. r=backout
Assignee | ||
Comment 13•8 years ago
|
||
^ is the backout I described in comment 8, which occurred prior to my relanding in comment 10.
(In reply to Michael Comella (:mcomella) from comment #11)
> Note: I didn't have an opportunity to test this test change because
> multi-locale builds are breaking gradle builds but I'm confident in the
> change.
I tested locally: it passed. (I blew out my multi-locale build for the gradle build)
status-firefox57:
--- → affected
Comment on attachment 8914839 [details]
Bug 1405404: Add 'de' to list of pocket whitelisted locales.
This is needed for Bug 1404460, Beta57+
Attachment #8914839 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 15•8 years ago
|
||
bugherder uplift |
Flags: in-testsuite+
![]() |
||
Comment 16•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment 17•8 years ago
|
||
Devices:
- Nexus 5 (Android 6.0.1);
- Samsung Galaxy Tab 3 (Android 7);
- Google Pixel (Android 8).
Verified this on multiple devices and pocket stories are being displayed when changing to Deutsch.
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•