Closed
Bug 1511165
Opened 6 years ago
Closed 5 years ago
about:welcome addon card on windows says "addon name"
Categories
(Firefox :: Messaging System, defect, P2)
Tracking
()
People
(Reporter: mixedpuppy, Assigned: andreio)
References
Details
Attachments
(3 files)
see attached image. The raw data I get from the attribution service does have the proper name. Clicking the download button downloads the correct extension.
Comment 1•6 years ago
|
||
Maybe because of bug 1511156 ?
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Ursula Sarracini (:ursula) from comment #1) > Maybe because of bug 1511156 ? I thought that at first, but the download button works fine. Bug 1511156 affects the extension id in the attribution data, which we use in an API call to AMO to retrieve the rest of the data, which includes the extension name, download link, etc. The data retrieved via the AMO API is not encoded. about:welcome should also be a little more resilient. It currently fails so show anything if it cannot get the addon data. I'm not clear if that is intentional. I guess from a user perspective its fine, but it threw me through a loop while trying to figure out what was happening.
Reporter | ||
Comment 3•6 years ago
|
||
(In reply to Shane Caraveo (:mixedpuppy) from comment #2) > I thought that at first, but the download button works fine. I mean the "add extension" button as shown in the screenshot.
Comment 4•6 years ago
|
||
Maybe it's a problem with l10n... if getting the addon name fails it should return null, not "addon-name" so that's bizarre. I'll take a look.
Updated•5 years ago
|
Iteration: --- → 66.1 - Dec 10-23
Priority: -- → P2
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → andrei.br92
Comment 5•5 years ago
|
||
Can we run some tests to identify how often this scenario occurs? It's important to understand if it's just an edge case or something more common. Anyhow, when we are not able to load the extension name, I suggest using something more neutral like 'Now let's get your extension.' NI Meridel on the bug to confirm the new string.
Flags: needinfo?(mwalkington)
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Shane Caraveo (:mixedpuppy) from comment #3) > (In reply to Shane Caraveo (:mixedpuppy) from comment #2) > > > I thought that at first, but the download button works fine. > > I mean the "add extension" button as shown in the screenshot. Addon name [0] and addon install url [1] are fetched independently of each other so it's not unlikely that one of them fails, in this case the name. [0] https://github.com/mozilla/activity-stream/blob/608aef966d0cf4f59dda623c50602530dc2cc623/lib/OnboardingMessageProvider.jsm#L16 [1] https://github.com/mozilla/activity-stream/blob/608aef966d0cf4f59dda623c50602530dc2cc623/lib/ASRouter.jsm#L809
Reporter | ||
Comment 7•5 years ago
|
||
Can you fix that so that a) we do not make multiple http calls to get data for a single extension, and b) we use the API rather than fetch? Are there any other API calls for other addon data items?
Flags: needinfo?(andrei.br92)
Reporter | ||
Comment 8•5 years ago
|
||
(In reply to emanuela [ux] [OOO 12/21 - 01/07] from comment #5) > Anyhow, when we are not able to load the extension name By my tests the extension name is in the data returned so this would be a bug somewhere in the activity stream code, not a lack of having access to the name.
Comment 9•5 years ago
|
||
If we cannot obtain the extension name for whatever reason, the string should be: Now let's get your extension. If we cannot obtain the theme name for whatever reason, the string should be: Now let's get your theme. (if it is possible to differentiate?)
Flags: needinfo?(mwalkington)
Reporter | ||
Comment 10•5 years ago
|
||
I'm sorry to disagree. Given bug 1511173, I think that if we do not have all the data from the AMO api to indicate to the user what they are installing, we should not show the addon card at all. Even without that bug, I feel like having an install button where the user has no idea what is being installed is not good.
Flags: needinfo?(mwalkington)
Flags: needinfo?(emanuela)
Comment 11•5 years ago
|
||
Aha, I see your point, and I concede. No add-ons card shown if we can't retrieve the AMO data.
Flags: needinfo?(mwalkington)
Comment 12•5 years ago
|
||
Sounds good. If we were landing people back on an AMO product page the generic copy might be ok. But if the install is taking place right from about:welcome, better not to show if we can't fetch the data.
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Thank you for adding extra context, Shane. I agree with you and Meridel.
Flags: needinfo?(emanuela)
Updated•5 years ago
|
Iteration: 66.1 - Dec 10-23 → 66.2 - Dec 24 - Jan 6
Comment 15•5 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream https://github.com/mozilla/activity-stream/commit/68cef93e3fba3dce03abfd2dd646ee6074a1693f Fix Bug 1511165 - about:welcome addon card on windows says "addon name" (#4589)
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(andrei.br92)
Comment 16•5 years ago
|
||
We will verify this bug as soon as it's possible to do so on Windows.
Comment 17•5 years ago
|
||
status-firefox66:
--- → fixed
Target Milestone: --- → Firefox 66
Comment 19•5 years ago
|
||
I would think not needed for beta 65 given that it'll be turned off for 65 with bug 1515411… yeah?
Updated•5 years ago
|
Comment 21•5 years ago
|
||
Verified using Nightly 66.0a1 (build 20190120213632) on Windows 10 x64 using multiple extensions, the issue is no longer reproducible. Attaching screenshot
Status: RESOLVED → VERIFIED
Comment 22•5 years ago
|
||
Updated•5 years ago
|
Component: Activity Streams: Newtab → Messaging System
You need to log in
before you can comment on or make changes to this bug.
Description
•